Update comments.rs

This commit is contained in:
Christopher Durham 2018-01-28 05:51:39 -05:00 committed by GitHub
parent f4f79038d1
commit 5982e6d73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pub(crate) fn scan_shebang(ptr: &mut Ptr) -> bool {
}
}
pub(crate) fn scan_block_comment(ptr: &mut Ptr) -> Option<SyntaxKind> {
fn scan_block_comment(ptr: &mut Ptr) -> Option<SyntaxKind> {
if ptr.next_is('*') {
ptr.bump();
let mut depth: u32 = 1;