From 15eb638dc9c9f663ab9e596a838c33821ae7f772 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Sat, 19 Sep 2020 08:23:23 +0200 Subject: [PATCH] Add tracking issue number for string_drain_as_str. --- library/alloc/src/string.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index b9506281ed6..ed6443da830 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -2475,21 +2475,21 @@ impl<'a> Drain<'a> { /// let _ = drain.next().unwrap(); /// assert_eq!(drain.as_str(), "bc"); /// ``` - #[unstable(feature = "string_drain_as_str", issue = "none")] // Note: uncomment AsRef impls below when stabilizing. + #[unstable(feature = "string_drain_as_str", issue = "76905")] // Note: uncomment AsRef impls below when stabilizing. pub fn as_str(&self) -> &str { self.iter.as_str() } } // Uncomment when stabilizing `string_drain_as_str`. -// #[unstable(feature = "string_drain_as_str", issue = "none")] +// #[unstable(feature = "string_drain_as_str", issue = "76905")] // impl<'a> AsRef for Drain<'a> { // fn as_ref(&self) -> &str { // self.as_str() // } // } // -// #[unstable(feature = "string_drain_as_str", issue = "none")] +// #[unstable(feature = "string_drain_as_str", issue = "76905")] // impl<'a> AsRef<[u8]> for Drain<'a> { // fn as_ref(&self) -> &[u8] { // self.as_str().as_bytes()