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/selection.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/selection.rs')
-rw-r--r-- | helix-core/src/selection.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs index 370a1f6e..ff5dc23d 100644 --- a/helix-core/src/selection.rs +++ b/helix-core/src/selection.rs @@ -2,7 +2,7 @@ //! single selection range. //! //! All positioning is done via `char` offsets into the buffer. -use crate::{Assoc, ChangeSet, Rope, RopeSlice}; +use crate::{Assoc, ChangeSet, RopeSlice}; use smallvec::{smallvec, SmallVec}; use std::borrow::Cow; @@ -406,6 +406,7 @@ pub fn split_on_matches( #[cfg(test)] mod test { use super::*; + use crate::Rope; #[test] #[should_panic] |