From 9dd823a0e1f54bedd7dd5a12e5ae45f59f6755e3 Mon Sep 17 00:00:00 2001 From: k-nasa Date: Sun, 10 Oct 2021 13:16:34 +0900 Subject: [PATCH] remove comment --- crates/syntax/src/syntax_node.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/syntax/src/syntax_node.rs b/crates/syntax/src/syntax_node.rs index 8647c1dc75..bd7ea0240b 100644 --- a/crates/syntax/src/syntax_node.rs +++ b/crates/syntax/src/syntax_node.rs @@ -47,8 +47,6 @@ impl SyntaxTreeBuilder { pub fn finish(self) -> Parse { 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 { let node = SyntaxNode::new_root(green.clone()); crate::validation::validate_block_structure(&node);