diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-22 11:59:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-22 11:59:17 +0100 |
| commit | e8326805c730f959d06bb243ee6f663310968b7a (patch) | |
| tree | 8a1cc787d4baf176e7cf904cd36866255e31d778 /compiler/rustc_pattern_analysis/src/rustc.rs | |
| parent | 07c503c3e461f6fdb844213e96247aa92e2685cb (diff) | |
| parent | eca391fbd4544e3f200f0ee08ef8d6f0a469542e (diff) | |
| download | rust-e8326805c730f959d06bb243ee6f663310968b7a.tar.gz rust-e8326805c730f959d06bb243ee6f663310968b7a.zip | |
Rollup merge of #138535 - yotamofek:pr/rustdoc/lang-string-parse-cleanup, r=notriddle
Cleanup `LangString::parse` Flatten some `if`s into match patterns Use `str::strip_prefix` instead of `starts_with`+indexing Avoid redundant tests for `extra.is_some()`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc.rs')
0 files changed, 0 insertions, 0 deletions
