about summary refs log tree commit diff
diff options
context:
space:
mode:
authorstrct <dev@strct.cc>2020-10-15 16:57:19 +0200
committerGitHub <noreply@github.com>2020-10-15 16:57:19 +0200
commit8d8554d23474b19b68533c4c9e42bac164aa6fd0 (patch)
tree954206cbf670d5a95fb7bac2c503be576179e36a
parent7f587168102498a488abf608a86c7fdfa62fb7bb (diff)
downloadrust-8d8554d23474b19b68533c4c9e42bac164aa6fd0.tar.gz
rust-8d8554d23474b19b68533c4c9e42bac164aa6fd0.zip
Fix typo in documentation
-rw-r--r--library/alloc/src/boxed.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index 5c8c2c5a5a8..0fc81cb2193 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -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.
     ///