about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim McNamara <code@timmcnamara.co.nz>2021-10-09 21:44:07 +1300
committerGitHub <noreply@github.com>2021-10-09 21:44:07 +1300
commit020ec0a03967f16ca5a4ba2a33472a8da912986d (patch)
tree56f08f7a4d3ce81161cec75f912b7faff44cef44
parentfa5a2128963177b050958077f78699ca80370204 (diff)
downloadrust-020ec0a03967f16ca5a4ba2a33472a8da912986d.tar.gz
rust-020ec0a03967f16ca5a4ba2a33472a8da912986d.zip
Remove unnecessary hyphen
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
-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 f47be508983..85f908a7f5c 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -1373,7 +1373,7 @@ impl From<Cow<'_, str>> for Box<str> {
     ///
     /// When `cow` is the `Cow::Borrowed` variant, this
     /// conversion allocates on the heap and copies the
-    /// underlying `str`. Otherwise, it will try to re-use the owned
+    /// underlying `str`. Otherwise, it will try to reuse the owned
     /// `String`'s allocation.
     ///
     /// # Examples