Skip to content

Commit de02101

Browse files
committed
Auto merge of #62040 - felixrabe:patch-3, r=dtolnay
Punctuation typo in ! docs
2 parents d6884ae + eceeedc commit de02101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/primitive_docs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ mod prim_bool { }
120120
/// When implementing this trait for [`String`] we need to pick a type for [`Err`]. And since
121121
/// converting a string into a string will never result in an error, the appropriate type is `!`.
122122
/// (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
123+
/// was added to Rust at a later date and it may change in the future.) With an [`Err`] type of
124124
/// `!`, if we have to call [`String::from_str`] for some reason the result will be a
125125
/// [`Result<String, !>`] which we can unpack like this:
126126
///

0 commit comments

Comments
 (0)