Skip to content

Commit

Permalink
Remove unnecessary hyphen
Browse files Browse the repository at this point in the history
Co-authored-by: Laurențiu Nicola <[email protected]>
  • Loading branch information
timClicks and lnicola authored Oct 9, 2021
1 parent fa5a212 commit 020ec0a
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 @@ -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
Expand Down

0 comments on commit 020ec0a

Please sign in to comment.