File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -713,8 +713,7 @@ fn merge_styles<Wr: Write>(
713713 . take ( parsed_declarations_count)
714714 . find ( |style| {
715715 style. starts_with ( property. as_bytes ( ) )
716- && style
717- . get ( property. len ( ) ..property. len ( ) . saturating_add ( sep. len ( ) ) )
716+ && style. get ( property. len ( ) ..property. len ( ) . saturating_add ( sep. len ( ) ) )
718717 == Some ( sep)
719718 } ) ,
720719 ) {
@@ -739,8 +738,8 @@ fn merge_styles<Wr: Write>(
739738 ) ;
740739 // `push_or_update!` increments `parsed_declarations_count`, so subtract 1
741740 // to get the slot that was just written and append the `!important` suffix.
742- if let Some ( buf) = declarations_buffer
743- . get_mut ( parsed_declarations_count. saturating_sub ( 1 ) )
741+ if let Some ( buf) =
742+ declarations_buffer . get_mut ( parsed_declarations_count. saturating_sub ( 1 ) )
744743 {
745744 buf. extend_from_slice ( b" !important" ) ;
746745 }
You can’t perform that action at this time.
0 commit comments