Skip to content

Commit

Permalink
Rollup merge of rust-lang#77978 - strct:patch-2, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in documentation
  • Loading branch information
GuillaumeGomez committed Oct 15, 2020
2 parents e117c06 + 8d8554d commit 313de68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit 313de68

Please sign in to comment.