mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 18:56:55 -06:00
Effects and pathops: keep the isolate_lowest_one allows #4252 dropped (clippy 1.99 still flags the manual form)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user