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(
151151 }
152152
153153 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 ( ) ) ;
155155 }
156156 } ) ;
157157}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub fn rlwinm_decode_window(
1919 if let Some ( demangled) = rlwinmdec:: decode ( & state. text ) {
2020 ui. scope ( |ui| {
2121 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 ( ) ) ;
2323 } ) ;
2424 if ui. button ( "Copy" ) . clicked ( ) {
2525 ui. output_mut ( |output| output. copied_text = demangled) ;
You can’t perform that action at this time.
0 commit comments