diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-09-30 01:08:15 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-09-30 01:15:48 +0100 |
| commit | 33ed03fea0106ad76314aa7e616c199996418737 (patch) | |
| tree | 0c2d69e3426d14f956c19788f5ad353fb2f61014 | |
| parent | 49c6c86faf91365a0e9162ed277d907a22d2420e (diff) | |
| download | rust-33ed03fea0106ad76314aa7e616c199996418737.tar.gz rust-33ed03fea0106ad76314aa7e616c199996418737.zip | |
Cleaned up a few doc comments in libfmt_macros.
| -rw-r--r-- | src/libfmt_macros/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libfmt_macros/lib.rs b/src/libfmt_macros/lib.rs index f9c1be20b8b..d22420e76dc 100644 --- a/src/libfmt_macros/lib.rs +++ b/src/libfmt_macros/lib.rs @@ -410,7 +410,7 @@ impl<'a> Parser<'a> { &self.input[start..self.input.len()] } - /// Parses an Argument structure, or what's contained within braces inside the format string + /// Parses an `Argument` structure, or what's contained within braces inside the format string. fn argument(&mut self) -> Argument<'a> { let pos = self.position(); let format = self.format(); @@ -464,7 +464,7 @@ impl<'a> Parser<'a> { } /// Parses a format specifier at the current position, returning all of the - /// relevant information in the FormatSpec struct. + /// relevant information in the `FormatSpec` struct. fn format(&mut self) -> FormatSpec<'a> { let mut spec = FormatSpec { fill: None, @@ -571,7 +571,7 @@ impl<'a> Parser<'a> { spec } - /// Parses a Count parameter at the current position. This does not check + /// Parses a `Count` parameter at the current position. This does not check /// for 'CountIsNextParam' because that is only used in precision, not /// width. fn count(&mut self, start: usize) -> (Count, Option<InnerSpan>) { |
