diff options
Diffstat (limited to 'crates/test_utils/src/lib.rs')
-rw-r--r-- | crates/test_utils/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/test_utils/src/lib.rs b/crates/test_utils/src/lib.rs index e6e8d7110..69deddcb5 100644 --- a/crates/test_utils/src/lib.rs +++ b/crates/test_utils/src/lib.rs | |||
@@ -83,6 +83,7 @@ fn try_extract_range(text: &str) -> Option<(TextRange, String)> { | |||
83 | Some((TextRange::from_to(start, end), text)) | 83 | Some((TextRange::from_to(start, end), text)) |
84 | } | 84 | } |
85 | 85 | ||
86 | #[derive(Clone, Copy)] | ||
86 | pub enum RangeOrOffset { | 87 | pub enum RangeOrOffset { |
87 | Range(TextRange), | 88 | Range(TextRange), |
88 | Offset(TextUnit), | 89 | Offset(TextUnit), |