diff options
author | Omnikar | 2022-08-04 05:32:59 +0000 |
---|---|---|
committer | GitHub | 2022-08-04 05:32:59 +0000 |
commit | afd292e3b9616ea9098ca3a7d24a730508b84809 (patch) | |
tree | bd02d7728b4d8a0ed000fc0b06479921c692b70d /helix-term/src | |
parent | 5d33dbacac3564c50b9f3a74cfef6a956c35dd80 (diff) |
Resolve clippy lints (#3307)
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/ui/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 6ed9799b..f5598095 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -1011,7 +1011,7 @@ impl EditorView { None => return EventResult::Ignored(None), } - let offset = config.scroll_lines.abs() as usize; + let offset = config.scroll_lines.unsigned_abs(); commands::scroll(cxt, offset, direction); cxt.editor.tree.focus = current_view; |