diff --git a/src/formatter.rs b/src/formatter.rs index 7a39798..5b31d78 100644 --- a/src/formatter.rs +++ b/src/formatter.rs @@ -60,7 +60,7 @@ pub struct ImageFormatter { pub struct ImageFormatterBuilder { /// Pad between lines line_pad: u32, - /// Padding to the right of the code + /// Padding to the right of the code code_pad_right: u32, /// Show line number line_number: bool, @@ -113,7 +113,7 @@ impl + Default> ImageFormatterBuilder { self.line_pad = pad; self } - + /// Set the pad on the right of the screen pub fn code_pad_right(mut self, pad: u32) -> Self { self.code_pad_right = pad;