Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenthial committed Mar 15, 2023
1 parent 8b08bb4 commit 708bae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/ui/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ impl<'a> TextRenderer<'a> {
};
let grapheme = match grapheme {
Grapheme::Tab { width } => {
let grapheme_tab_width = char_to_byte_idx(&tab, width);
let grapheme_tab_width = char_to_byte_idx(tab, width);
&tab[..grapheme_tab_width]
}
// TODO special rendering for other whitespaces?
Expand Down

0 comments on commit 708bae8

Please sign in to comment.