Skip to content

Commit 15eb638

Browse files
committed
Add tracking issue number for string_drain_as_str.
1 parent 829019d commit 15eb638

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/alloc/src/string.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2475,21 +2475,21 @@ impl<'a> Drain<'a> {
24752475
/// let _ = drain.next().unwrap();
24762476
/// assert_eq!(drain.as_str(), "bc");
24772477
/// ```
2478-
#[unstable(feature = "string_drain_as_str", issue = "none")] // Note: uncomment AsRef impls below when stabilizing.
2478+
#[unstable(feature = "string_drain_as_str", issue = "76905")] // Note: uncomment AsRef impls below when stabilizing.
24792479
pub fn as_str(&self) -> &str {
24802480
self.iter.as_str()
24812481
}
24822482
}
24832483

24842484
// Uncomment when stabilizing `string_drain_as_str`.
2485-
// #[unstable(feature = "string_drain_as_str", issue = "none")]
2485+
// #[unstable(feature = "string_drain_as_str", issue = "76905")]
24862486
// impl<'a> AsRef<str> for Drain<'a> {
24872487
// fn as_ref(&self) -> &str {
24882488
// self.as_str()
24892489
// }
24902490
// }
24912491
//
2492-
// #[unstable(feature = "string_drain_as_str", issue = "none")]
2492+
// #[unstable(feature = "string_drain_as_str", issue = "76905")]
24932493
// impl<'a> AsRef<[u8]> for Drain<'a> {
24942494
// fn as_ref(&self) -> &[u8] {
24952495
// self.as_str().as_bytes()

0 commit comments

Comments
 (0)