about summary refs log tree commit diff
path: root/src/tools/miri/genmc-sys/src_cpp/MiriInterface.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-22 11:59:17 +0100
committerGitHub <noreply@github.com>2025-03-22 11:59:17 +0100
commite8326805c730f959d06bb243ee6f663310968b7a (patch)
tree8a1cc787d4baf176e7cf904cd36866255e31d778 /src/tools/miri/genmc-sys/src_cpp/MiriInterface.cpp
parent07c503c3e461f6fdb844213e96247aa92e2685cb (diff)
parenteca391fbd4544e3f200f0ee08ef8d6f0a469542e (diff)
downloadrust-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 'src/tools/miri/genmc-sys/src_cpp/MiriInterface.cpp')
0 files changed, 0 insertions, 0 deletions