File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -363,14 +363,7 @@ impl<'i> Formatter<'i> {
363363 sub. append_application ( invocation) ;
364364 sub. flush_current ( ) ;
365365
366- // Combine all fragments into a single atomic fragment to prevent wrapping
367- let mut combined = String :: new ( ) ;
368- for ( _syntax, content) in & sub. fragments {
369- combined. push_str ( & content) ;
370- }
371-
372- // Return as a single fragment
373- vec ! [ ( Syntax :: Invocation , Cow :: Owned ( combined) ) ]
366+ sub. fragments
374367 }
375368
376369 fn render_binding (
@@ -403,13 +396,7 @@ impl<'i> Formatter<'i> {
403396 sub. append_variables ( variables) ;
404397 sub. flush_current ( ) ;
405398
406- // Combine all fragments into a single atomic fragment to prevent wrapping
407- let mut combined = String :: new ( ) ;
408- for ( _syntax, content) in & sub. fragments {
409- combined. push_str ( & content) ;
410- }
411-
412- vec ! [ ( Syntax :: Structure , Cow :: Owned ( combined) ) ]
399+ sub. fragments
413400 }
414401
415402 pub fn append_char ( & mut self , c : char ) {
You can’t perform that action at this time.
0 commit comments