@@ -778,7 +778,6 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
778778 /// # Examples
779779 ///
780780 /// ```
781- /// # #![feature(debug_map_key_value)]
782781 /// use std::fmt;
783782 ///
784783 /// struct Foo(Vec<(String, i32)>);
@@ -796,7 +795,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
796795 /// "{\"whole\": [(\"A\", 10), (\"B\", 11)]}",
797796 /// );
798797 /// ```
799- #[ unstable ( feature = "debug_map_key_value" , reason = "recently added" , issue = "62482 ") ]
798+ #[ stable ( feature = "debug_map_key_value" , since = "1.42.0 " ) ]
800799 pub fn key ( & mut self , key : & dyn fmt:: Debug ) -> & mut Self {
801800 self . result = self . result . and_then ( |_| {
802801 assert ! (
@@ -843,7 +842,6 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
843842 /// # Examples
844843 ///
845844 /// ```
846- /// # #![feature(debug_map_key_value)]
847845 /// use std::fmt;
848846 ///
849847 /// struct Foo(Vec<(String, i32)>);
@@ -861,7 +859,7 @@ impl<'a, 'b: 'a> DebugMap<'a, 'b> {
861859 /// "{\"whole\": [(\"A\", 10), (\"B\", 11)]}",
862860 /// );
863861 /// ```
864- #[ unstable ( feature = "debug_map_key_value" , reason = "recently added" , issue = "62482 ") ]
862+ #[ stable ( feature = "debug_map_key_value" , since = "1.42.0 " ) ]
865863 pub fn value ( & mut self , value : & dyn fmt:: Debug ) -> & mut Self {
866864 self . result = self . result . and_then ( |_| {
867865 assert ! ( self . has_key, "attempted to format a map value before its key" ) ;
0 commit comments