Skip to content

Commit a462e7c

Browse files
committedJul 19, 2020
Document core::fmt::rt::v1::Count
1 parent 4803680 commit a462e7c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/libcore/fmt/rt/v1.rs

+4
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,13 @@ pub enum Alignment {
3333
Unknown,
3434
}
3535

36+
/// Used by [width](https://doc.rust-lang.org/std/fmt/#width) and [precision](https://doc.rust-lang.org/std/fmt/#precision) specifiers.
3637
#[derive(Copy, Clone)]
3738
pub enum Count {
39+
/// Specified with a literal number, stores the value
3840
Is(usize),
41+
/// Specified using `$` and `*` syntaxes, stores the index into `args`
3942
Param(usize),
43+
/// Not specified
4044
Implied,
4145
}

0 commit comments

Comments
 (0)
Please sign in to comment.