mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Live Pathfinder budget: allow the manual lowest-bit form clippy flags, for rust-version 1.95
This commit is contained in:
@@ -115,6 +115,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(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