]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/result.rs
Rollup merge of #58595 - stjepang:make-duration-consts-associated, r=oli-obk
[rust.git] / src / libcore / result.rs
index 1ebf0714e23e41eaf68206d5965d6ea4804cde99..92d29f6ee8a30c83ba9ec50c9cbf7983c61fc22b 100644 (file)
@@ -896,7 +896,7 @@ impl<T: Default, E> Result<T, E> {
     ///
     /// # Examples
     ///
-    /// Convert a string to an integer, turning poorly-formed strings
+    /// Converts a string to an integer, turning poorly-formed strings
     /// into 0 (the default value for integers). [`parse`] converts
     /// a string to any other type that implements [`FromStr`], returning an
     /// [`Err`] on error.