File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2786,7 +2786,7 @@ where
2786
2786
{
2787
2787
debug ! ( "rewrite_tuple {:?}" , shape) ;
2788
2788
if context. use_block_indent ( ) {
2789
- // We use the same rule as funcation call for rewriting tuple .
2789
+ // We use the same rule as function calls for rewriting tuples .
2790
2790
let force_trailing_comma = if context. inside_macro {
2791
2791
span_ends_with_comma ( context, span)
2792
2792
} else {
Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ impl FormattingError {
486
486
fn msg_suffix ( & self ) -> String {
487
487
match self . kind {
488
488
ErrorKind :: LineOverflow ( ..) if self . is_comment => format ! (
489
- "use `error_on_lineoverflow_comments = false` to suppress \
489
+ "use `error_on_line_overflow_comments = false` to suppress \
490
490
the warning against line comments\n ",
491
491
) ,
492
492
_ => String :: from ( "" ) ,
You can’t perform that action at this time.
0 commit comments