2
improved help message for `suspicious_map` by zvavybir · Pull Request #7770 · ru...
source link: https://github.com/rust-lang/rust-clippy/pull/7770
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
suspicious_map
's help message assumes that the literal behavior is never the intended one, although it's sometimes. This PR adds a mention of inspect
, offering a idiomatic alternative.
fixes #7767
changelog: Improved help message of [suspicious_map
].
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK