mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
1fd9504619
fixes rust-lang/rust-clippy#14869 Added a simple check if both chars are of length 3 If they are, we skip the check for that pair. This won't handle the 4 v 3 case. Not sure if this was the intent of the issue. Also saw we have some hardcoded exemptions for `set, get` and `lhs, rhs` Tried removing them thinking they would be handled by the new condition. But we have to keep because they allow for `bla_lhs` v `bla_rhs` to be skipped changelog:[`similar_names`]: Stop triggering for 3-character names