Tweak comments.
This commit is contained in:
parent
ae238efe91
commit
e65c96e4ad
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ use expand::expand_parsed_format_args;
|
||||||
// 3. Finally, `expand_parsed_format_args` will turn that `FormatArgs` structure
|
// 3. Finally, `expand_parsed_format_args` will turn that `FormatArgs` structure
|
||||||
// into the expression that the macro expands to.
|
// into the expression that the macro expands to.
|
||||||
|
|
||||||
// See format/ast.rs forthe FormatArgs structure.
|
// See format/ast.rs for the FormatArgs structure and glossary.
|
||||||
|
|
||||||
// Only used in parse_args and report_invalid_references,
|
// Only used in parse_args and report_invalid_references,
|
||||||
// to indicate how a referred argument was used.
|
// to indicate how a referred argument was used.
|
||||||
|
|
|
@ -96,7 +96,7 @@ pub struct FormatArgPosition {
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
|
||||||
pub enum FormatArgPositionKind {
|
pub enum FormatArgPositionKind {
|
||||||
/// `{}` or `{.*}`
|
/// `{}` or `{:.*}`
|
||||||
Implicit,
|
Implicit,
|
||||||
/// `{1}` or `{:1$}` or `{:.1$}`
|
/// `{1}` or `{:1$}` or `{:.1$}`
|
||||||
Number,
|
Number,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue