about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-08-10 15:43:55 -0400
committerGitHub <noreply@github.com>2025-08-10 15:43:55 -0400
commit733568ac7d66ff07bb7e6ada6a447e7f020fb3a2 (patch)
treea5435a415bfd6c6608a11ba1070909bb7406d85c /compiler/rustc_pattern_analysis/src
parentadf522cefb725ec14ed52d8304c6fb7f0f1f5041 (diff)
parentcf1a1b7b76a937afae997594d931b64956e74a4f (diff)
downloadrust-733568ac7d66ff07bb7e6ada6a447e7f020fb3a2.tar.gz
rust-733568ac7d66ff07bb7e6ada6a447e7f020fb3a2.zip
Rollup merge of #145152 - xizheyin:detect-confusion-type, r=lqd
Use `eq_ignore_ascii_case` to avoid heap alloc in `detect_confuse_type`

A small optimization has been made, using `to_ascii_lowercase()` instead of `to_lowercase().to_string()`.

r? compiler
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions