summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--doc/manual.txt11
-rw-r--r--web/news.txt3
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/manual.txt b/doc/manual.txt
index 9497e957d..08ed6f8d1 100644
--- a/doc/manual.txt
+++ b/doc/manual.txt
@@ -5392,9 +5392,14 @@ should scan unions conservatively.
 
 Packed pragma
 -------------
-The `packed`:idx: pragma can be applied to any ``object`` type. It ensures that the fields of an object is packed back-to-back in memory. It is useful to store packets or messages from/to network or hardware drivers, and for interoperability with C. Combining packed pragma with inheritance is not defined, and it should not be used with GC'ed memory (ref's).  
-
-**Future directions**: Using GC'ed memory in packed pragma will result in compile-time error. Usage with inheretinence should be defined and documented.
+The `packed`:idx: pragma can be applied to any ``object`` type. It ensures 
+that the fields of an object is packed back-to-back in memory. It is useful 
+to store packets or messages from/to network or hardware drivers, and for 
+interoperability with C. Combining packed pragma with inheritance is not 
+defined, and it should not be used with GC'ed memory (ref's).  
+
+**Future directions**: Using GC'ed memory in packed pragma will result in 
+compile-time error. Usage with inheritance should be defined and documented.
 
 Unchecked pragma
 ----------------
diff --git a/web/news.txt b/web/news.txt
index 7f5526665..9c84b5490 100644
--- a/web/news.txt
+++ b/web/news.txt
@@ -61,7 +61,8 @@ News
       evaluation.
     - ``--gc:none`` produces warnings when code uses the GC.
     - A ``union`` pragma for better C interoperability is now supported.
-    - A ``packed`` pragma to control the memory packing/alignment of fields in an object.
+    - A ``packed`` pragma to control the memory packing/alignment of fields in 
+      an object.
     - Arrays can be annotated to be ``unchecked`` for easier low level
       manipulations of memory.