aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/selection.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-09 07:58:43 +0000
committerBlaž Hrastnik2020-10-13 14:13:56 +0000
commit00e661f600b7465750a9bcce8e89eabd5b17b4af (patch)
tree59712ddb43fce8992fabbfeb079f17eac433fb33 /helix-core/src/selection.rs
parent4a648555ed7a61de615baad551bab8f34a5bad74 (diff)
Indent draft, linewise paste
Diffstat (limited to 'helix-core/src/selection.rs')
-rw-r--r--helix-core/src/selection.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs
index bc677330..d3806cf3 100644
--- a/helix-core/src/selection.rs
+++ b/helix-core/src/selection.rs
@@ -110,7 +110,6 @@ impl Range {
#[inline]
pub fn fragment<'a>(&'a self, text: &'a RopeSlice) -> Cow<'a, str> {
- // end inclusive
Cow::from(text.slice(self.from()..self.to() + 1))
}
}