aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/syntax_bridge.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_mbe/src/syntax_bridge.rs')
-rw-r--r--crates/ra_mbe/src/syntax_bridge.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs
index e3cde9eed..8e8ae2b29 100644
--- a/crates/ra_mbe/src/syntax_bridge.rs
+++ b/crates/ra_mbe/src/syntax_bridge.rs
@@ -33,7 +33,7 @@ impl TokenTextRange {
33} 33}
34 34
35/// Maps `tt::TokenId` to the relative range of the original token. 35/// Maps `tt::TokenId` to the relative range of the original token.
36#[derive(Debug, PartialEq, Eq, Default)] 36#[derive(Debug, PartialEq, Eq, Clone, Default)]
37pub struct TokenMap { 37pub struct TokenMap {
38 /// Maps `tt::TokenId` to the *relative* source range. 38 /// Maps `tt::TokenId` to the *relative* source range.
39 entries: Vec<(tt::TokenId, TokenTextRange)>, 39 entries: Vec<(tt::TokenId, TokenTextRange)>,