about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/async_closures.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-03-16 14:23:18 +0000
committerbors <bors@rust-lang.org>2025-03-16 14:23:18 +0000
commit8b87fefd76665236a304d3c0998e1021710ce1b0 (patch)
tree7d2afc19652a16217a94d018bf39221f8d261bdc /compiler/rustc_lint/src/async_closures.rs
parentd497e43a1664eaad5e5850f5f8c11c9e16f5ef66 (diff)
parentbfe536342f3bfaacea11ad4957e541d4219ae4ea (diff)
downloadrust-8b87fefd76665236a304d3c0998e1021710ce1b0.tar.gz
rust-8b87fefd76665236a304d3c0998e1021710ce1b0.zip
Auto merge of #138537 - yotamofek:pr/lib/multi-char-pattern, r=jhpratt
Optimize multi-char string patterns

Uses specialization for `[T]::contains` from #130991 to optimize multi-char patterns in string searches.
Requesting a perf run to see if this actually has an effect 🙏
(I think that adding `char` to the list of types for which the `SliceContains` is specialized is a good idea, even if it doesn't show up on perf - might be helpful for downstream users)
Diffstat (limited to 'compiler/rustc_lint/src/async_closures.rs')
0 files changed, 0 insertions, 0 deletions