Fix typo in comment line overflow message

s/error_on_lineoverflow_comments/error_on_line_overflow_comments
This commit is contained in:
Michael Smith 2017-08-18 16:31:13 -07:00
parent c166004e6d
commit 2471248370
No known key found for this signature in database
GPG key ID: 8645BDF574E8F755

View file

@ -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(""),