rust: enable clippy::or_fun_call lint
- Feb 21, 2025
-
-
Mitchell Kember authored
I confirmed that this would have prevented the issue in !1280. For details see: https://rust-lang.github.io/rust-clippy/master/index.html#/or_fun_call
-
Mitchell Kember authored
This means that lints configured in rust/Cargo.toml will apply to all crates within the workspace. Currently there are none but I plan to add some.
1ef08a0381a0 -
Raphaël Gomès authored
Same as the previous patch, this is just dumb performance loss.
3fae90405966 -
Raphaël Gomès authored
This is... really dumb and costs a ton of performance in a hot loop. It was 75% of a profile for a tip to null p1 node traversal in pure Rust. I'm at fault, done in 652149ed64f0. I thought clippy had a lint for this, but apparently not?
155e1e8dc055
-