diff options
| author | bors <bors@rust-lang.org> | 2019-06-22 20:45:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-06-22 20:45:34 +0000 |
| commit | de02101e6d949c4a9040211e9ce8c488a997497e (patch) | |
| tree | 6d2e94aaf08bdbca0e200f9d7399e2a896fed62f /src/libstd | |
| parent | d6884aedd5b8709c44c849d055d454db2f78042e (diff) | |
| parent | eceeedc7b017b069e8755ef2401809c519edd1f6 (diff) | |
| download | rust-de02101e6d949c4a9040211e9ce8c488a997497e.tar.gz rust-de02101e6d949c4a9040211e9ce8c488a997497e.zip | |
Auto merge of #62040 - felixrabe:patch-3, r=dtolnay
Punctuation typo in ! docs
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/primitive_docs.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/primitive_docs.rs b/src/libstd/primitive_docs.rs index e78a5defdf3..65fd8c83e1c 100644 --- a/src/libstd/primitive_docs.rs +++ b/src/libstd/primitive_docs.rs @@ -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: /// |
