Skip to content

Commit 8d8554d

Browse files
authored
Fix typo in documentation
1 parent 7f58716 commit 8d8554d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/boxed.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ impl From<Cow<'_, str>> for Box<str> {
815815

816816
#[stable(feature = "boxed_str_conv", since = "1.19.0")]
817817
impl From<Box<str>> for Box<[u8]> {
818-
/// Converts a `Box<str>>` into a `Box<[u8]>`
818+
/// Converts a `Box<str>` into a `Box<[u8]>`
819819
///
820820
/// This conversion does not allocate on the heap and happens in place.
821821
///

0 commit comments

Comments
 (0)