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 106106#![ feature( int_bits_const) ]
107107#![ feature( lang_items) ]
108108#![ feature( layout_for_ptr) ]
109+ #![ cfg_attr( not( bootstrap) , feature( may_ignore) ) ]
109110#![ feature( maybe_uninit_ref) ]
110111#![ feature( negative_impls) ]
111112#![ feature( never_type) ]
Original file line number Diff line number Diff line change @@ -1587,6 +1587,14 @@ impl String {
15871587 let slice = self . vec . into_boxed_slice ( ) ;
15881588 unsafe { from_boxed_utf8_unchecked ( slice) }
15891589 }
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+ }
15901598}
15911599
15921600impl FromUtf8Error {
You can’t perform that action at this time.
0 commit comments