Skip to content

Commit

Permalink
Bump shared_from_str to Rust 1.62.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 1, 2022
1 parent 594be70 commit 100006b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/alloc/src/rc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1956,7 +1956,7 @@ where
}
}

#[stable(feature = "shared_from_str", since = "1.61.0")]
#[stable(feature = "shared_from_str", since = "1.62.0")]
impl From<Rc<str>> for Rc<[u8]> {
/// Converts a reference-counted string slice into a byte slice.
///
Expand Down
2 changes: 1 addition & 1 deletion library/alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2556,7 +2556,7 @@ where
}
}

#[stable(feature = "shared_from_str", since = "1.61.0")]
#[stable(feature = "shared_from_str", since = "1.62.0")]
impl From<Arc<str>> for Arc<[u8]> {
/// Converts an atomically reference-counted string slice into a byte slice.
///
Expand Down

0 comments on commit 100006b

Please sign in to comment.