]> git.lizzy.rs Git - rust.git/commitdiff
Typo
authorFelix Rabe <felix@rabe.io>
Fri, 21 Jun 2019 22:44:31 +0000 (00:44 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Jun 2019 22:44:31 +0000 (00:44 +0200)
src/libstd/primitive_docs.rs

index e78a5defdf3bb793c06b6a56ddce25a0c0d99632..65fd8c83e1ce5b447be253d649f709b6df20e1f2 100644 (file)
@@ -120,7 +120,7 @@ mod prim_bool { }
 /// When implementing this trait for [`String`] we need to pick a type for [`Err`]. And since
 /// converting a string into a string will never result in an error, the appropriate type is `!`.
 /// (Currently the type actually used is an enum with no variants, though this is only because `!`
-/// 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
 /// `!`, if we have to call [`String::from_str`] for some reason the result will be a
 /// [`Result<String, !>`] which we can unpack like this:
 ///