This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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()
You can’t perform that action at this time.
0 commit comments