From 30477e9df75f24ef0de5b651cc2d80db8a4d7b3b Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Thu, 16 Jan 2025 08:06:08 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Josh Holmer --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index bfb167b..1a6da96 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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, - /// 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,