mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-08-25 08:32:14 +00:00
Rust 1.98's clippy flags four lints in this workspace whose suggested replacement is available at or below the declared `rust-version = "1.77"`, so each gets the actual fix rather than an allow: - `manual_slice_fill` in ruvector-mincut `DistanceArray::reset` — the manual loop becomes `slice::fill` (stable since 1.50). - `drain_collect` in ruvector-mincut `WasmBatchOps::execute_batch` — `drain(..).collect()` becomes `std::mem::take` (stable since 1.40), which also drops one allocation per batch. - `result_unit_err` in rvagent-a2a `emit_status_event` — `Result<usize, ()>` becomes `Result<usize, NoLiveChannel>`, following the per-module error type idiom the crate already uses (`PushError`, `RecursionError`, ...). The one caller outside the module discards the value with `let _`, so nothing else moves. Also gates ruvector-turboquant's `LEVELS_I8` bench import behind `#[cfg(target_arch = "x86_64")]`, matching the only module that reads it. That is a no-op on CI's x86_64 runner but clears an `unused_imports` error that makes `-D warnings` fail on aarch64 hosts. Co-Authored-By: claude-flow <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_016QSCkKnxDjqU49NVVpWMK5 |
||
|---|---|---|
| .. | ||
| algorithm | ||
| canonical | ||
| certificate | ||
| cluster | ||
| compact | ||
| connectivity | ||
| core | ||
| euler | ||
| expander | ||
| fragment | ||
| fragmentation | ||
| graph | ||
| instance | ||
| integration | ||
| jtree | ||
| linkcut | ||
| localkcut | ||
| monitoring | ||
| optimization | ||
| parallel | ||
| pool | ||
| snn | ||
| sparsify | ||
| subpolynomial | ||
| tree | ||
| wasm | ||
| witness | ||
| wrapper | ||
| error.rs | ||
| lib.rs | ||
| time_compat.rs | ||