mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() `Diagnostic` has 40 methods that return `&mut Self` and could be considered setters. Four of them have a `set_` prefix. This doesn't seem necessary for a type that implements the builder pattern. This commit removes the `set_` prefixes on those four methods. |
||
---|---|---|
.. | ||
constructor.rs | ||
errors.rs | ||
lib.rs | ||
lints.rs | ||
pat.rs | ||
rustc.rs | ||
usefulness.rs |