cleanup
authorBen Pfaff <blp@cs.stanford.edu>
Sat, 3 Jan 2026 19:45:25 +0000 (11:45 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sat, 3 Jan 2026 19:45:25 +0000 (11:45 -0800)
rust/pspp/src/cli/show_spv.rs
rust/pspp/src/spv/read/legacy_xml.rs

index ce2bec2c3077f52e686ec173c5df190db70ff54d..087baa243dcdaa074967d80eeced5fdc6c30dfed 100644 (file)
@@ -33,7 +33,6 @@ use pspp::{
     },
 };
 use std::{
-    collections::HashMap,
     fmt::Display,
     io::{BufReader, Cursor, Read},
     path::PathBuf,
index ded22a20266123b6fcbd7edc30a6aeb99acb84f2..cd539d61f428402fb5e8f4ba003419170d859cd4 100644 (file)
@@ -1962,18 +1962,6 @@ impl LabelingChild {
 struct Formatting {
     #[serde(rename = "@variable")]
     variable: String,
-
-    #[serde(rename = "$value", default)]
-    mappings: Vec<FormatMapping>,
-}
-
-#[derive(Deserialize, Debug)]
-#[serde(rename_all = "camelCase")]
-struct FormatMapping {
-    #[serde(rename = "@from")]
-    from: i64,
-
-    format: Option<Format>,
 }
 
 #[derive(Clone, Debug, Default)]