Remove unnecessary hyphen

Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
This commit is contained in:
Tim McNamara 2021-10-09 21:44:07 +13:00 committed by GitHub
parent fa5a212896
commit 020ec0a039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1373,7 +1373,7 @@ impl From<Cow<'_, str>> for Box<str> {
/// ///
/// When `cow` is the `Cow::Borrowed` variant, this /// When `cow` is the `Cow::Borrowed` variant, this
/// conversion allocates on the heap and copies the /// 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. /// `String`'s allocation.
/// ///
/// # Examples /// # Examples