mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
0ffb4adaeb
`query_get_at`, `query_ensure`, and `query_ensure_error_guarantee` are very similar functions, but they all use different control flow styles which obscures the similarities. This commit rewrites them to all use a `match`.