aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parser_impl/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/parser_impl/input.rs')
-rw-r--r--crates/ra_syntax/src/parser_impl/input.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/ra_syntax/src/parser_impl/input.rs b/crates/ra_syntax/src/parser_impl/input.rs
index 7fde5b3ab..616a26fdc 100644
--- a/crates/ra_syntax/src/parser_impl/input.rs
+++ b/crates/ra_syntax/src/parser_impl/input.rs
@@ -36,11 +36,7 @@ impl<'t> ParserInput<'t> {
36 len += token.len; 36 len += token.len;
37 } 37 }
38 38
39 ParserInput { 39 ParserInput { text, start_offsets, tokens }
40 text,
41 start_offsets,
42 tokens,
43 }
44 } 40 }
45 41
46 /// Get the syntax kind of token at given input position. 42 /// Get the syntax kind of token at given input position.