mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
remove comment
This commit is contained in:
parent
3829cd981a
commit
9dd823a0e1
1 changed files with 0 additions and 2 deletions
|
@ -47,8 +47,6 @@ impl SyntaxTreeBuilder {
|
||||||
|
|
||||||
pub fn finish(self) -> Parse<SyntaxNode> {
|
pub fn finish(self) -> Parse<SyntaxNode> {
|
||||||
let (green, errors) = self.finish_raw();
|
let (green, errors) = self.finish_raw();
|
||||||
// NOTE Why you're disabling assertions.
|
|
||||||
// ref: https://github.com/rust-analyzer/rust-analyzer/pull/10357
|
|
||||||
if cfg!(debug_assertions) && false {
|
if cfg!(debug_assertions) && false {
|
||||||
let node = SyntaxNode::new_root(green.clone());
|
let node = SyntaxNode::new_root(green.clone());
|
||||||
crate::validation::validate_block_structure(&node);
|
crate::validation::validate_block_structure(&node);
|
||||||
|
|
Loading…
Reference in a new issue