aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/diagnostics/decl_check/case_conv.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-12-10 17:07:37 +0000
committerAleksey Kladov <[email protected]>2020-12-10 17:07:37 +0000
commit3d5be5ba5b8c5f2d6ca6142dab959e2838589062 (patch)
tree739b7a38dac4c59e2b6ac01f5918e89ca17240ca /crates/hir_ty/src/diagnostics/decl_check/case_conv.rs
parent78de7f0d4a53e92c343b0c12889b423f1f9bd433 (diff)
Fix accidently quadratic syntax rewriter
Switching from SyntaxNode to GreenNode is a costly operation (b/c dereferencing a synax ptr in `with_green` is linear), so we should avoid that.
Diffstat (limited to 'crates/hir_ty/src/diagnostics/decl_check/case_conv.rs')
0 files changed, 0 insertions, 0 deletions