diff options
Diffstat (limited to 'crates/ra_db/src/lib.rs')
-rw-r--r-- | crates/ra_db/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index 4a3ba57da..1ddacc1f6 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs | |||
@@ -80,7 +80,7 @@ pub struct FilePosition { | |||
80 | pub offset: TextSize, | 80 | pub offset: TextSize, |
81 | } | 81 | } |
82 | 82 | ||
83 | #[derive(Clone, Copy, Debug)] | 83 | #[derive(Clone, Copy, Debug, Eq, PartialEq)] |
84 | pub struct FileRange { | 84 | pub struct FileRange { |
85 | pub file_id: FileId, | 85 | pub file_id: FileId, |
86 | pub range: TextRange, | 86 | pub range: TextRange, |