Commit 0dccbed
fix(ovsm): suppress manual_is_multiple_of clippy lint
Adds allow attributes for the manual_is_multiple_of lint in OVSM median
calculation. This lint suggests using .is_multiple_of() which is a
nightly-only feature not available in stable Rust.
## Changes
- Added #[allow(unknown_lints)] to suppress warning about unknown lint in older clippy
- Added #[allow(clippy::manual_is_multiple_of)] for newer clippy versions
- Preserves existing % 2 == 0 pattern which works on stable Rust
## Why Not Use .is_multiple_of()?
The .is_multiple_of() method is currently unstable (nightly-only) and
cannot be used in stable Rust builds. Once it stabilizes, we can remove
these allow attributes and use the method.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent a66e8f2 commit 0dccbed
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
0 commit comments