diff options
author | Nathan Vegdahl | 2021-07-01 19:24:22 +0000 |
---|---|---|
committer | Nathan Vegdahl | 2021-07-02 02:06:52 +0000 |
commit | b571f28641787ae4c5750e91899afdccc6d89ed6 (patch) | |
tree | a35b5fc93715965d1407c87c2cd592ade579bee2 /helix-core/src/position.rs | |
parent | 0b2d51cf5a840b6e34d360b34c116bb981b5058e (diff) |
Remove #[allow(unused)] from helix-core, and fix unused imports.
Still a bunch more warnings to fix in core, but it's a start.
Diffstat (limited to 'helix-core/src/position.rs')
-rw-r--r-- | helix-core/src/position.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-core/src/position.rs b/helix-core/src/position.rs index 392eee9c..6e84707a 100644 --- a/helix-core/src/position.rs +++ b/helix-core/src/position.rs @@ -1,7 +1,7 @@ use crate::{ chars::char_is_line_ending, graphemes::{nth_next_grapheme_boundary, RopeGraphemes}, - Rope, RopeSlice, + RopeSlice, }; /// Represents a single point in a text buffer. Zero indexed. @@ -70,6 +70,7 @@ pub fn pos_at_coords(text: RopeSlice, coords: Position) -> usize { #[cfg(test)] mod test { use super::*; + use crate::Rope; #[test] fn test_ordering() { |