From 2471248370fc4183e5bf32ed56725682f170095c Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 18 Aug 2017 16:31:13 -0700 Subject: [PATCH] Fix typo in comment line overflow message s/error_on_lineoverflow_comments/error_on_line_overflow_comments --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3ac1c3e4cf7..1b19689b660 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -486,7 +486,7 @@ impl FormattingError { fn msg_suffix(&self) -> String { match self.kind { ErrorKind::LineOverflow(..) if self.is_comment => format!( - "use `error_on_lineoverflow_comments = false` to suppress \ + "use `error_on_line_overflow_comments = false` to suppress \ the warning against line comments\n", ), _ => String::from(""),