aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parser_impl/input.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-02-08 11:49:43 +0000
committerAleksey Kladov <[email protected]>2019-02-08 11:49:43 +0000
commit12e3b4c70b5ef23b2fdfc197296d483680e125f9 (patch)
tree71baa0e0a62f9f6b61450501c5f821f67badf9e4 /crates/ra_syntax/src/parser_impl/input.rs
parent5cb1d41a30d25cbe136402644bf5434dd667f1e5 (diff)
reformat the world
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.