update comment

This commit is contained in:
k-nasa 2021-10-10 10:16:32 +09:00
parent 42377d3dad
commit 820393f72d

View file

@ -47,7 +47,7 @@ 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. // NOTE Why disabling assertions.
// ref: https://github.com/rust-analyzer/rust-analyzer/pull/10357 // 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());