Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Holmer <[email protected]>
  • Loading branch information
lu-zero and shssoichiro authored Jan 16, 2025
1 parent 3239e35 commit 30477e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ pub struct FormatOptions<'a> {
///
/// Default: false
pub inline: bool,
/// Maximum lenght of an inline block
/// Maximum length of an inline block
///
/// Default: 50
pub max_inline_block: usize,
/// Maximum lenght of inline arguments
/// Maximum length of inline arguments
///
/// If unset keep every argument in a separate line
///
/// Default: None
pub max_inline_arguments: Option<usize>,
/// Inline the argument at the top level if they would fit a line
/// Inline the argument at the top level if they would fit a line of this length
///
/// Default: None
pub max_inline_top_level: Option<usize>,
Expand Down

0 comments on commit 30477e9

Please sign in to comment.