Skip to content

Commit 474c4ff

Browse files
committed
fix typo
1 parent 1b9fa24 commit 474c4ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ impl<'a> FormatArgument<'a> {
516516
/// # Errors
517517
///
518518
/// It will return an error if the specified format string has invalid syntax,
519-
/// the type doesn't implement the expected trait, or the formatting it self
519+
/// the type doesn't implement the expected trait, or the formatting itself
520520
/// failed.
521521
///
522522
/// For more details have a look at [`Error`] and [`FormatArgumentError`].
@@ -590,7 +590,7 @@ pub fn write<K: Borrow<str> + Eq + Hash>(
590590
/// # Errors
591591
///
592592
/// It will return an error if the specified format string has invalid syntax,
593-
/// the type doesn't implement the expected trait, or the formatting it self
593+
/// the type doesn't implement the expected trait, or the formatting itself
594594
/// failed.
595595
///
596596
/// For more details have a look at [`Error`] and [`FormatArgumentError`].

0 commit comments

Comments
 (0)