work on new decoder - about to start decoding variables
[pspp] / rust / src / raw.rs
index bbe2b46d36754ff3f7aee5fcd83ef8b7c91a675a..0620d4eea6884a19318a2bd089970841c4579553 100644 (file)
@@ -1621,7 +1621,8 @@ where
 {
     pub offsets: Range<u64>,
 
-    /// The document, as an array of 80-byte lines.
+    /// The document, as an array of lines.  Raw lines are exactly 80 bytes long
+    /// and are right-padded with spaces without any new-line termination.
     pub lines: Vec<S>,
 }
 
@@ -2346,7 +2347,7 @@ impl AttributeSet {
 }
 
 #[derive(Clone, Debug, Default)]
-pub struct FileAttributeRecord(AttributeSet);
+pub struct FileAttributeRecord(pub AttributeSet);
 
 impl FileAttributeRecord {
     fn decode(source: &TextRecord, decoder: &Decoder) -> Self {