summaryrefslogtreecommitdiff
path: root/helix-term/src/ui/editor.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-19 02:14:13 +0000
committerBlaž Hrastnik2021-03-19 02:14:13 +0000
commitf29f01858d1b8c9e54b3293879796a4650823f60 (patch)
tree6aeb9434e110adcdbe533c0519d7dd0e2993c88b /helix-term/src/ui/editor.rs
parente9bd9e72c3adf822ae569644dd87f4a5e04df18e (diff)
Implement iter() and len() directly on Selection.
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r--helix-term/src/ui/editor.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 5e8ef05e..670de6d6 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -211,7 +211,6 @@ impl EditorView {
for selection in view
.doc
.selection()
- .ranges()
.iter()
.filter(|range| range.overlaps(&screen))
{