Rollup merge of #77978 - strct:patch-2, r=jonas-schievink
Fix typo in documentation
This commit is contained in:
commit
313de68e22
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user