aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/parsing/text_token_source.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/parsing/text_token_source.rs')
-rw-r--r--crates/ra_syntax/src/parsing/text_token_source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parsing/text_token_source.rs b/crates/ra_syntax/src/parsing/text_token_source.rs
index f592b499f..64cb20ae8 100644
--- a/crates/ra_syntax/src/parsing/text_token_source.rs
+++ b/crates/ra_syntax/src/parsing/text_token_source.rs
@@ -28,7 +28,7 @@ pub(crate) struct TextTokenSource<'t> {
28 28
29impl<'t> TokenSource for TextTokenSource<'t> { 29impl<'t> TokenSource for TextTokenSource<'t> {
30 fn current(&self) -> PToken { 30 fn current(&self) -> PToken {
31 return self.curr.0; 31 self.curr.0
32 } 32 }
33 33
34 fn lookahead_nth(&self, n: usize) -> PToken { 34 fn lookahead_nth(&self, n: usize) -> PToken {