Cleaned up a few doc comments in libfmt_macros. · rust-lang/rust@33ed03f (original) (raw)

`@@ -410,7 +410,7 @@ impl<'a> Parser<'a> {

`

410

410

`&self.input[start..self.input.len()]

`

411

411

`}

`

412

412

``

413

``

`-

/// Parses an Argument structure, or what's contained within braces inside the format string

`

``

413

`` +

/// Parses an Argument structure, or what's contained within braces inside the format string.

``

414

414

`fn argument(&mut self) -> Argument<'a> {

`

415

415

`let pos = self.position();

`

416

416

`let format = self.format();

`

`@@ -464,7 +464,7 @@ impl<'a> Parser<'a> {

`

464

464

`}

`

465

465

``

466

466

`/// Parses a format specifier at the current position, returning all of the

`

467

``

`-

/// relevant information in the FormatSpec struct.

`

``

467

`` +

/// relevant information in the FormatSpec struct.

``

468

468

`fn format(&mut self) -> FormatSpec<'a> {

`

469

469

`let mut spec = FormatSpec {

`

470

470

`fill: None,

`

`@@ -571,7 +571,7 @@ impl<'a> Parser<'a> {

`

571

571

` spec

`

572

572

`}

`

573

573

``

574

``

`-

/// Parses a Count parameter at the current position. This does not check

`

``

574

`` +

/// Parses a Count parameter at the current position. This does not check

``

575

575

`/// for 'CountIsNextParam' because that is only used in precision, not

`

576

576

`/// width.

`

577

577

`fn count(&mut self, start: usize) -> (Count, Option) {

`