File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 4343#![ stable( feature = "rust1" , since = "1.0.0" ) ]
4444
4545use core:: error:: Error ;
46- use core:: fmt:: FormattingOptions ;
4746use core:: iter:: FusedIterator ;
4847#[ cfg( not( no_global_oom_handling) ) ]
4948use core:: iter:: from_fn;
@@ -2683,7 +2682,8 @@ impl<T: fmt::Display + ?Sized> ToString for T {
26832682 #[ inline]
26842683 default fn to_string ( & self ) -> String {
26852684 let mut buf = String :: new ( ) ;
2686- let mut formatter = core:: fmt:: Formatter :: new ( & mut buf, FormattingOptions :: new ( ) ) ;
2685+ let mut formatter =
2686+ core:: fmt:: Formatter :: new ( & mut buf, core:: fmt:: FormattingOptions :: new ( ) ) ;
26872687 // Bypass format_args!() to avoid write_str with zero-length strs
26882688 fmt:: Display :: fmt ( self , & mut formatter)
26892689 . expect ( "a Display implementation returned an error unexpectedly" ) ;
You can’t perform that action at this time.
0 commit comments