Fix typo in documentation
This commit is contained in:
parent
7f58716810
commit
8d8554d234
|
@ -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