mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Simplify event processing
This commit is contained in:
parent
3c12d38a32
commit
86a7ac2d31
6 changed files with 128 additions and 104 deletions
|
@ -84,7 +84,8 @@ fn reparse_block<'node>(
|
|||
return None;
|
||||
}
|
||||
let (green, new_errors) =
|
||||
parser_impl::parse_with::<yellow::GreenBuilder>(
|
||||
parser_impl::parse_with(
|
||||
yellow::GreenBuilder::new(),
|
||||
&text, &tokens, reparser,
|
||||
);
|
||||
Some((node, green, new_errors))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue