diff --git a/compiler/rustc_ast_lowering/src/format.rs b/compiler/rustc_ast_lowering/src/format.rs index c41bdc44093..ccf481cb9b3 100644 --- a/compiler/rustc_ast_lowering/src/format.rs +++ b/compiler/rustc_ast_lowering/src/format.rs @@ -220,19 +220,19 @@ fn make_argument<'hir>( /// Generates: /// /// ```text -/// ::Is(…) +/// ::Is(…) /// ``` /// /// or /// /// ```text -/// ::Param(…) +/// ::Param(…) /// ``` /// /// or /// /// ```text -/// ::Implied +/// ::Implied /// ``` fn make_count<'hir>( ctx: &mut LoweringContext<'_, 'hir>, @@ -278,13 +278,13 @@ fn make_count<'hir>( /// Generates /// /// ```text -/// ::…, // alignment +/// ::…, // alignment /// …u32, // flags -/// , // width -/// , // precision +/// , // width +/// , // precision /// ) /// ``` fn make_format_spec<'hir>(