1
Fork 0

Tweak comments.

This commit is contained in:
Mara Bos 2022-08-27 18:32:20 +02:00
parent ae238efe91
commit e65c96e4ad
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ use expand::expand_parsed_format_args;
// 3. Finally, `expand_parsed_format_args` will turn that `FormatArgs` structure
// 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,
// to indicate how a referred argument was used.

View file

@ -96,7 +96,7 @@ pub struct FormatArgPosition {
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum FormatArgPositionKind {
/// `{}` or `{.*}`
/// `{}` or `{:.*}`
Implicit,
/// `{1}` or `{:1$}` or `{:.1$}`
Number,