SIGN IN SIGN UP
rust-lang / rust UNCLAIMED

Empowering everyone to build reliable and efficient software.

0 0 69 Rust

correct `single_match` lint suggestion (#13824)

fix #12758

The `single_match` lint makes incorrect suggestions when comparing with
byte string literals. There seems to be an issue with the logic that
calculates the number of refs when creating suggestions.

changelog: [`single_match`]: No longer make incorrect suggestions when
comparing with byte string literals.
A
Alejandra González committed
13463cb072e1ae70677329931b434b4070710e2a
Committed by GitHub <noreply@github.com> on 12/13/2024, 5:21:59 PM