From bdef6b2b8c9b6bf83d9ffad26924f8bf05eba9c5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 3 Jan 2026 11:45:25 -0800 Subject: [PATCH] cleanup --- rust/pspp/src/cli/show_spv.rs | 1 - rust/pspp/src/spv/read/legacy_xml.rs | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/rust/pspp/src/cli/show_spv.rs b/rust/pspp/src/cli/show_spv.rs index ce2bec2c30..087baa243d 100644 --- a/rust/pspp/src/cli/show_spv.rs +++ b/rust/pspp/src/cli/show_spv.rs @@ -33,7 +33,6 @@ use pspp::{ }, }; use std::{ - collections::HashMap, fmt::Display, io::{BufReader, Cursor, Read}, path::PathBuf, diff --git a/rust/pspp/src/spv/read/legacy_xml.rs b/rust/pspp/src/spv/read/legacy_xml.rs index ded22a2026..cd539d61f4 100644 --- a/rust/pspp/src/spv/read/legacy_xml.rs +++ b/rust/pspp/src/spv/read/legacy_xml.rs @@ -1962,18 +1962,6 @@ impl LabelingChild { struct Formatting { #[serde(rename = "@variable")] variable: String, - - #[serde(rename = "$value", default)] - mappings: Vec, -} - -#[derive(Deserialize, Debug)] -#[serde(rename_all = "camelCase")] -struct FormatMapping { - #[serde(rename = "@from")] - from: i64, - - format: Option, } #[derive(Clone, Debug, Default)] -- 2.30.2