Skip to content

Commit ba7bf1d

Browse files
committed
Update doc comments.
1 parent cf53fef commit ba7bf1d

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_builtin_macros/src/format

1 file changed

+2
-2
lines changed

Diff for: compiler/rustc_builtin_macros/src/format/ast.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ pub enum FormatAlignment {
233233

234234
#[derive(Clone, Debug, PartialEq, Eq)]
235235
pub enum FormatCount {
236-
/// `{:0}` or `{:.0}`
236+
/// `{:5}` or `{:.5}`
237237
Literal(usize),
238-
/// `{:.*}`, `{:.0$}`, or `{:a$}`, etc.
238+
/// `{:.*}`, `{:.5$}`, or `{:a$}`, etc.
239239
Argument(FormatArgPosition),
240240
}

0 commit comments

Comments
 (0)