mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 01:17:27 +00:00
Update comments.rs
This commit is contained in:
parent
f4f79038d1
commit
5982e6d73b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue