2

Fix some false negatives for [`single_char_pattern`] by nixxquality · Pull Reque...

 2 years ago
source link: https://github.com/rust-lang/rust-clippy/pull/8077
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.
neoserver,ios ssh client

Copy link

Contributor

nixxquality commented 6 days ago

Please write a short comment explaining your change (or "none" for internal only changes)

changelog: Fix some false negatives for [single_char_pattern]

I noticed that clippy wasn't complaining about my usage of split_once("x") in a personal project so I updated the list of functions.

I had to update the test case for an unrelated issue because replace is now included in the list of functions to be linted.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK