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 {
310310 title,
311311 max_line_num_len,
312312 title_style,
313- matches ! (
314- peek,
315- Some ( Element :: Message ( _) ) | Some ( Element :: Padding ( _) )
316- ) ,
313+ peek. is_some ( ) ,
317314 buffer_msg_line_offset,
318315 ) ;
319316 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
38483848 for more information, visit <https://doc.rust-lang.org/reference/items/traits.html#dyn-compatibility>
38493849 ╭▸ $SRC_DIR/core/src/cmp.rs:961:20
38503850 │
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
38523852 ⸬ $SRC_DIR/core/src/cmp.rs:338:14
38533853 │
38543854 ╰ 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