From e36539a3fc0f56cda7b3c0c7d6b7c30c1e90dd5a Mon Sep 17 00:00:00 2001 From: Bram Hoendervangers Date: Sat, 31 Aug 2024 10:00:24 +0200 Subject: [PATCH] undo making printer output field public --- printer/src/algorithm.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/printer/src/algorithm.rs b/printer/src/algorithm.rs index da63e40..195f899 100644 --- a/printer/src/algorithm.rs +++ b/printer/src/algorithm.rs @@ -46,7 +46,6 @@ enum PrintFrame { pub(crate) const SIZE_INFINITY: isize = 0xffff; -#[derive(Debug)] pub struct PrinterSettings { // Target line width. pub margin: isize, @@ -62,7 +61,7 @@ pub struct PrinterSettings { pub struct Printer { pub settings: PrinterSettings, - pub out: String, + out: String, // Number of spaces left on line space: isize, // Ring-buffer of tokens and calculated sizes