Skip to content

Commit

Permalink
Update doc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Sep 27, 2022
1 parent cf53fef commit ba7bf1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_builtin_macros/src/format/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ pub enum FormatAlignment {

#[derive(Clone, Debug, PartialEq, Eq)]
pub enum FormatCount {
/// `{:0}` or `{:.0}`
/// `{:5}` or `{:.5}`
Literal(usize),
/// `{:.*}`, `{:.0$}`, or `{:a$}`, etc.
/// `{:.*}`, `{:.5$}`, or `{:a$}`, etc.
Argument(FormatArgPosition),
}

0 comments on commit ba7bf1d

Please sign in to comment.