mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-10-09 18:51:22 +00:00
https://github.com/rust-lang/rust-clippy/pull/17681 got merged a while ago - this makes it so the `regex_creation_in_loops` clippy `expect` "fails", since it is actually now not triggered. Unfortunately, this is only in beta from the looks of it at the moment, so I can't just remove it entirely. This change just makes it an unconditional `allow` with a note to get rid of it at some point once it's stable. Note this only affects macOS, where we use this. This was fine because it's only actually triggered once, and then cached via a `OnceLock`.