remove some dead code
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 11 Apr 2025 23:16:32 +0000 (16:16 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 11 Apr 2025 23:16:32 +0000 (16:16 -0700)
rust/pspp/src/output/pivot/output.rs
rust/pspp/src/output/pivot/tlo.rs

index e66fb8ecd91fde3fa80aaa6eb131ca0fe08b5b62..d82fff5ccc6553a869ae1e06e158a176aaccd928 100644 (file)
@@ -379,10 +379,6 @@ impl<'a> Heading<'a> {
         }
     }
 
-    fn width(&self) -> usize {
-        self.columns.len()
-    }
-
     fn render(
         &self,
         table: &mut Table,
index 85eed639a0794b71250548ec198db665001c7842..61b58af0b8c3519ad4cd6519d9579119fd9c103a 100644 (file)
@@ -205,14 +205,6 @@ enum Separator {
     },
 }
 
-impl Separator {
-    const THICK: Self = Self::Some {
-        color: Color::BLACK,
-        style: 0,
-        width: 2,
-    };
-}
-
 impl From<Separator> for BorderStyle {
     fn from(separator: Separator) -> Self {
         match separator {