Effects and pathops: keep the isolate_lowest_one allows #4252 dropped (clippy 1.99 still flags the manual form)

This commit is contained in:
bflatastic
2026-10-26 18:46:46 +07:00
parent c38185f79c
commit f024069002
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -116,6 +116,8 @@ pub const PATHFINDER_MAX_OVERLAPS: usize = 16_384;
/// Fenwick tree of counts over `n` slots, for counting the active boxes of [`within_budget`].
struct Counts(Vec<isize>);
// `isolate_lowest_one` is still unstable in Rust 1.96, and the workspace builds on 1.95 (rust-version).
#[allow(unknown_lints, clippy::manual_isolate_lowest_one)]
impl Counts {
fn add(&mut self, slot: usize, d: isize) {
let mut i = slot + 1;
+2
View File
@@ -15,6 +15,8 @@ pub const MAX_SEGMENT_PAIRS: usize = 1 << 22;
/// Fenwick tree of counts over its slots.
struct Counts(Vec<isize>);
// `isolate_lowest_one` is still unstable in Rust 1.96, and the workspace builds on 1.95 (rust-version).
#[allow(clippy::manual_isolate_lowest_one)]
impl Counts {
fn add(&mut self, slot: usize, d: isize) {
let mut i = slot + 1;