File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 106
106
#![ feature( int_bits_const) ]
107
107
#![ feature( lang_items) ]
108
108
#![ feature( layout_for_ptr) ]
109
+ #![ cfg_attr( not( bootstrap) , feature( may_ignore) ) ]
109
110
#![ feature( maybe_uninit_ref) ]
110
111
#![ feature( negative_impls) ]
111
112
#![ feature( never_type) ]
Original file line number Diff line number Diff line change @@ -1587,6 +1587,14 @@ impl String {
1587
1587
let slice = self . vec . into_boxed_slice ( ) ;
1588
1588
unsafe { from_boxed_utf8_unchecked ( slice) }
1589
1589
}
1590
+
1591
+ #[ doc( hidden) ]
1592
+ #[ inline]
1593
+ #[ cfg_attr( not( bootstrap) , may_ignore) ]
1594
+ #[ stable( feature = "string_write_fmt" , since = "1.49.0" ) ]
1595
+ pub fn write_fmt ( mut self : & mut Self , args : fmt:: Arguments < ' _ > ) -> fmt:: Result {
1596
+ fmt:: write ( & mut self , args)
1597
+ }
1590
1598
}
1591
1599
1592
1600
impl FromUtf8Error {
You can’t perform that action at this time.
0 commit comments