aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/selection.rs
diff options
context:
space:
mode:
authorNathan Vegdahl2021-07-01 19:24:22 +0000
committerNathan Vegdahl2021-07-02 02:06:52 +0000
commitb571f28641787ae4c5750e91899afdccc6d89ed6 (patch)
treea35b5fc93715965d1407c87c2cd592ade579bee2 /helix-core/src/selection.rs
parent0b2d51cf5a840b6e34d360b34c116bb981b5058e (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.rs3
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]