Rollup merge of #77978 - strct:patch-2, r=jonas-schievink

Fix typo in documentation
This commit is contained in:
Guillaume Gomez 2020-10-15 18:00:30 +02:00 committed by GitHub
commit 313de68e22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -815,7 +815,7 @@ impl From<Cow<'_, str>> for Box<str> {
#[stable(feature = "boxed_str_conv", since = "1.19.0")]
impl From<Box<str>> for Box<[u8]> {
/// Converts a `Box<str>>` into a `Box<[u8]>`
/// Converts a `Box<str>` into a `Box<[u8]>`
///
/// This conversion does not allocate on the heap and happens in place.
///