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

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;