about summary refs log tree commit diff
path: root/library/core
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-14 16:06:46 +0200
committerGitHub <noreply@github.com>2021-10-14 16:06:46 +0200
commit686857f5bf6f494bdaedd248956e96d48cf0a738 (patch)
treed7ac10e6ef0baf88ef60b14c843e3a798e7b4e45 /library/core
parent0888c6dc7804ac5944d705c6aca1fdecbbefba82 (diff)
parent4b59b35b76e9d14205f8b11f26bbf5920f8f936b (diff)
Rollup merge of #89873 - askoufis:patch-1, r=Mark-Simulacrum
Add missing word to `FromStr` trait documentation

The doc comment is getting a bit wide, let me know if I should restructure it/add a new line.
Diffstat (limited to 'library/core')
-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
     ///