Fix typo in documentation

This commit is contained in:
strct 2020-10-15 16:57:19 +02:00 committed by GitHub
parent 7f58716810
commit 8d8554d234
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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.
///