Skip to content

Commit

Permalink
undo making printer output field public
Browse files Browse the repository at this point in the history
  • Loading branch information
bram209 committed Aug 31, 2024
1 parent 6d61ec3 commit e36539a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions printer/src/algorithm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ enum PrintFrame {

pub(crate) const SIZE_INFINITY: isize = 0xffff;

#[derive(Debug)]
pub struct PrinterSettings {
// Target line width.
pub margin: isize,
Expand All @@ -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
Expand Down

0 comments on commit e36539a

Please sign in to comment.