Skip to content

Commit 400931e

Browse files
committed
Fix typo.
1 parent 4136c71 commit 400931e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast_lowering/src/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ fn expand_format_args<'hir>(
480480

481481
// If this placeholder uses the next argument index, is surrounded by literal string
482482
// pieces, and uses default formatting options, then we can skip it, as this kind of
483-
// placeholder is implied by two consequtive string pieces.
483+
// placeholder is implied by two consecutive string pieces.
484484
if bits == default_options + implicit_arg_index {
485485
if let (Some(FormatArgsPiece::Literal(_)), Some(FormatArgsPiece::Literal(_))) =
486486
(template.get(i.wrapping_sub(1)), template.get(i + 1))

0 commit comments

Comments
 (0)