diff options
Diffstat (limited to 'src/lexer')
-rw-r--r-- | src/lexer/comments.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer/comments.rs b/src/lexer/comments.rs index d388561bf..d1e958817 100644 --- a/src/lexer/comments.rs +++ b/src/lexer/comments.rs | |||
@@ -14,7 +14,7 @@ pub(crate) fn scan_shebang(ptr: &mut Ptr) -> bool { | |||
14 | } | 14 | } |
15 | } | 15 | } |
16 | 16 | ||
17 | pub(crate) fn scan_block_comment(ptr: &mut Ptr) -> Option<SyntaxKind> { | 17 | fn scan_block_comment(ptr: &mut Ptr) -> Option<SyntaxKind> { |
18 | if ptr.next_is('*') { | 18 | if ptr.next_is('*') { |
19 | ptr.bump(); | 19 | ptr.bump(); |
20 | let mut depth: u32 = 1; | 20 | let mut depth: u32 = 1; |