aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-09-15 18:29:22 +0100
committerAleksey Kladov <[email protected]>2018-09-15 22:00:05 +0100
commit58674dc3c415142dbdd93b990d9f5b4fe10bef69 (patch)
treed30f60432f96e256d20e805e1f62a3084f61644a /crates/libeditor/src
parentd59413c895e7b49ed2ad01be35871e417a57a43c (diff)
ModuleTreeDescriptor
Diffstat (limited to 'crates/libeditor/src')
-rw-r--r--crates/libeditor/src/line_index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libeditor/src/line_index.rs b/crates/libeditor/src/line_index.rs
index 801726aa5..9cd8da3a8 100644
--- a/crates/libeditor/src/line_index.rs
+++ b/crates/libeditor/src/line_index.rs
@@ -1,7 +1,7 @@
1use superslice::Ext; 1use superslice::Ext;
2use ::TextUnit; 2use ::TextUnit;
3 3
4#[derive(Clone, Debug)] 4#[derive(Clone, Debug, Hash)]
5pub struct LineIndex { 5pub struct LineIndex {
6 newlines: Vec<TextUnit>, 6 newlines: Vec<TextUnit>,
7} 7}