mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-08 21:13:55 +00:00
cd3d633850
9455: feat: Handle not let if expressions in replace_if_let_with_match r=Veykril a=Veykril Transforms bare `if cond {}` into `_ if cond` guard patterns in the match as long as at least one `if let` is in the if chain, otherwise the assist wont be applicable. bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com> |
||
---|---|---|
.. | ||
fuzz | ||
src | ||
test_data | ||
Cargo.toml |