From 7c4aa3948b589e0ef12c982d34ba99facabdf0df Mon Sep 17 00:00:00 2001 From: Chris Pryer <14341145+cnpryer@users.noreply.github.com> Date: Fri, 11 Aug 2023 13:46:59 -0400 Subject: [PATCH] Fix typo in MeasureMode comment (#6508) --- crates/ruff_formatter/src/printer/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_formatter/src/printer/mod.rs b/crates/ruff_formatter/src/printer/mod.rs index b31260147d..e24ab80ea8 100644 --- a/crates/ruff_formatter/src/printer/mod.rs +++ b/crates/ruff_formatter/src/printer/mod.rs @@ -1379,7 +1379,7 @@ enum MeasureMode { /// Returns FirstLine, - /// The content only fits if non of the lines exceed the print width. Lines are terminated by either + /// The content only fits if none of the lines exceed the print width. Lines are terminated by either /// a hard line break or a soft line break in [`PrintMode::Expanded`]. AllLines, }