We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6884ae + eceeedc commit de02101Copy full SHA for de02101
src/libstd/primitive_docs.rs
@@ -120,7 +120,7 @@ mod prim_bool { }
120
/// When implementing this trait for [`String`] we need to pick a type for [`Err`]. And since
121
/// converting a string into a string will never result in an error, the appropriate type is `!`.
122
/// (Currently the type actually used is an enum with no variants, though this is only because `!`
123
-/// was added to Rust at a later date and it may change in the future). With an [`Err`] type of
+/// was added to Rust at a later date and it may change in the future.) With an [`Err`] type of
124
/// `!`, if we have to call [`String::from_str`] for some reason the result will be a
125
/// [`Result<String, !>`] which we can unpack like this:
126
///
0 commit comments