File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ fn ins_hover_ui(
151
151
}
152
152
153
153
if let Some ( demangled) = rlwinmdec:: decode ( & ins. formatted ) {
154
- ui. colored_label ( appearance. highlight_color , & demangled) ;
154
+ ui. colored_label ( appearance. highlight_color , demangled. trim ( ) ) ;
155
155
}
156
156
} ) ;
157
157
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub fn rlwinm_decode_window(
19
19
if let Some ( demangled) = rlwinmdec:: decode ( & state. text ) {
20
20
ui. scope ( |ui| {
21
21
ui. style_mut ( ) . override_text_style = Some ( TextStyle :: Monospace ) ;
22
- ui. colored_label ( appearance. replace_color , & demangled) ;
22
+ ui. colored_label ( appearance. replace_color , demangled. trim ( ) ) ;
23
23
} ) ;
24
24
if ui. button ( "Copy" ) . clicked ( ) {
25
25
ui. output_mut ( |output| output. copied_text = demangled) ;
You can’t perform that action at this time.
0 commit comments