aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-22 03:26:04 +0000
committerBlaž Hrastnik2021-03-22 03:29:55 +0000
commitc4792efead160859d17f8ca969869037b7d2e1d5 (patch)
tree9a263833913836ab7dd7598d14c8196c832c92f8 /helix-core
parent798dbd27c50296d260fe13483e4a3aacd240c6ad (diff)
clippy lints
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/selection.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs
index 86c8c03f..cc8ec8d0 100644
--- a/helix-core/src/selection.rs
+++ b/helix-core/src/selection.rs
@@ -133,6 +133,7 @@ pub struct Selection {
primary_index: usize,
}
+#[allow(clippy::len_without_is_empty)] // a Selection is never empty
impl Selection {
// eq