Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloxaf committed Sep 26, 2024
1 parent dc3d141 commit adf96cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 60,7 @@ pub struct ImageFormatter<T> {
pub struct ImageFormatterBuilder<S> {
/// 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,
Expand Down Expand Up @@ -113,7 113,7 @@ impl<S: AsRef<str> Default> ImageFormatterBuilder<S> {
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;
Expand Down

0 comments on commit adf96cb

Please sign in to comment.