
8

new lint: `missing-spin-loop` by llogiq · Pull Request #8174 · rust-lang/rust-cl...
source link: https://github.com/rust-lang/rust-clippy/pull/8174
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.

This fixes #7809. I went with the shorter name because the function is called std::hint::spin_loop
. It doesn't yet detect while let
loops. I left that for a follow-up PR.
changelog: new lint: [missing_spin_loop
]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK