mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
56d5657880
Fix #9958 This PR fixes #9958. In order to fix the issue, the lint will now peel reference operators and enclose the expression with parentheses when necessary. changelog: [`comparison_to_empty`]: Peel deref operators in suggestions when necessary