Skip to content

Commit 33ed03f

Browse files
author
Alexander Regueiro
committed
Cleaned up a few doc comments in libfmt_macros.
1 parent 49c6c86 commit 33ed03f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libfmt_macros/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ impl<'a> Parser<'a> {
410410
&self.input[start..self.input.len()]
411411
}
412412

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.
414414
fn argument(&mut self) -> Argument<'a> {
415415
let pos = self.position();
416416
let format = self.format();
@@ -464,7 +464,7 @@ impl<'a> Parser<'a> {
464464
}
465465

466466
/// 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.
468468
fn format(&mut self) -> FormatSpec<'a> {
469469
let mut spec = FormatSpec {
470470
fill: None,
@@ -571,7 +571,7 @@ impl<'a> Parser<'a> {
571571
spec
572572
}
573573

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
575575
/// for 'CountIsNextParam' because that is only used in precision, not
576576
/// width.
577577
fn count(&mut self, start: usize) -> (Count, Option<InnerSpan>) {

0 commit comments

Comments
 (0)