work
[pspp] / rust / src / cooked.rs
index c84ffd65de177cc97b091db6e059aeac7c33777a..ae87b5abc225673c496ca28ddda14c470fc7e326 100644 (file)
@@ -6,7 +6,7 @@ use encoding_rs::Encoding;
 use crate::{
     Error,
     {endian::Endian, CategoryLabels, Compression},
-    format::UncheckedFormat,
+    format::Spec,
 };
 
 pub struct Decoder {
@@ -73,8 +73,8 @@ impl Decode for Header {
 pub struct Variable {
     pub width: i32,
     pub name: String,
-    pub print_format: UncheckedFormat,
-    pub write_format: UncheckedFormat,
+    pub print_format: Spec,
+    pub write_format: Spec,
 }
 
 #[derive(Clone)]