File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -310,10 +310,7 @@ impl Renderer {
310
310
title,
311
311
max_line_num_len,
312
312
title_style,
313
- matches ! (
314
- peek,
315
- Some ( Element :: Message ( _) ) | Some ( Element :: Padding ( _) )
316
- ) ,
313
+ peek. is_some ( ) ,
317
314
buffer_msg_line_offset,
318
315
) ;
319
316
last_was_suggestion = false ;
Original file line number Diff line number Diff line change @@ -3848,7 +3848,7 @@ note: for a trait to be dyn compatible it needs to allow building a vtable
3848
3848
for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
3849
3849
╭▸ $SRC_DIR/core/src/cmp.rs:961:20
3850
3850
│
3851
- ╰ note: the trait is not dyn compatible because it uses `Self` as a type parameter
3851
+ ├ note: the trait is not dyn compatible because it uses `Self` as a type parameter
3852
3852
⸬ $SRC_DIR/core/src/cmp.rs:338:14
3853
3853
│
3854
3854
╰ note: the trait is not dyn compatible because it uses `Self` as a type parameter
You can’t perform that action at this time.
0 commit comments