mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 15:26:41 +00:00
It has a single call site, and the code is clearer with all region kinds handled in one function, instead of splitting the handling across two functions. The commit also changes `DescriptionCtx::new` to use a more declarative style, instead of creating a default `DescriptionCtx` and modifying it, which I find easier to read.