about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Skoufis <askoufis@users.noreply.github.com>2021-10-14 13:47:54 +1100
committerGitHub <noreply@github.com>2021-10-14 13:47:54 +1100
commit4b59b35b76e9d14205f8b11f26bbf5920f8f936b (patch)
treed226b321f467b2e6b796149feac2d9ab6e3fc0d7
parent8c852bc15a058022c9d4175e8ed60da628960800 (diff)
downloadrust-4b59b35b76e9d14205f8b11f26bbf5920f8f936b.tar.gz
rust-4b59b35b76e9d14205f8b11f26bbf5920f8f936b.zip
Add missing word to `FromStr` trait docs
-rw-r--r--library/core/src/str/traits.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/str/traits.rs b/library/core/src/str/traits.rs
index 12d79a56a52..e225776bc64 100644
--- a/library/core/src/str/traits.rs
+++ b/library/core/src/str/traits.rs
@@ -536,7 +536,7 @@ pub trait FromStr: Sized {
     ///
     /// If parsing succeeds, return the value inside [`Ok`], otherwise
     /// when the string is ill-formatted return an error specific to the
-    /// inside [`Err`]. The error type is specific to implementation of the trait.
+    /// inside [`Err`]. The error type is specific to the implementation of the trait.
     ///
     /// # Examples
     ///