File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ impl Buffers {
253253 // Render something when wraparound occurs so the user is aware of it
254254 if config. indent_lines {
255255 match style {
256- SpanMode :: PreOpen { .. } | SpanMode :: Open { .. } => {
256+ SpanMode :: PreOpen | SpanMode :: Open { .. } => {
257257 if indent > 0 && ( indent + 1 ) % config. wraparound == 0 {
258258 self . current_buf . push_str ( & prefix) ;
259259 for _ in 0 ..( indent % config. wraparound * config. indent_amount ) {
@@ -347,7 +347,7 @@ fn indent_block_with_lines(
347347 SpanMode :: Open { .. } => buf. push_str ( LINE_OPEN ) ,
348348 SpanMode :: Retrace { .. } => buf. push_str ( LINE_OPEN ) ,
349349 SpanMode :: Close { .. } => buf. push_str ( LINE_CLOSE ) ,
350- SpanMode :: PreOpen { .. } | SpanMode :: PostClose => { }
350+ SpanMode :: PreOpen | SpanMode :: PostClose => { }
351351 SpanMode :: Event => { }
352352 }
353353 }
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ where
339339 let should_write = match style {
340340 SpanMode :: Open { .. } | SpanMode :: Event => true ,
341341 // Print the parent of a new span again before entering the child
342- SpanMode :: PreOpen { .. } if self . config . verbose_entry => true ,
342+ SpanMode :: PreOpen if self . config . verbose_entry => true ,
343343 SpanMode :: Close { verbose } => verbose,
344344 // Generated if `span_retrace` is enabled
345345 SpanMode :: Retrace { .. } => true ,
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ fn write_style_timestamp(
229229
230230////////////////////////////////////////////////////////////////////////////////////////////////////
231231
232- impl < ' a , F > FormatTime for & ' a F
232+ impl < F > FormatTime for & F
233233where
234234 F : FormatTime ,
235235{
You can’t perform that action at this time.
0 commit comments