Skip to content

Commit 546eb21

Browse files
rahulbswruvnet
andcommitted
fix(ci): satisfy stable Clippy
Use the standard integer multiple check accepted by the current stable Clippy lint set. Co-Authored-By: claude-flow <ruv@ruv.net>
1 parent 82568d6 commit 546eb21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wasm/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl WasmRuntimeConfig {
130130
64 * 1024,
131131
512 * 1024 * 1024,
132132
)?;
133-
if self.max_memory_bytes % (64 * 1024) != 0 {
133+
if !self.max_memory_bytes.is_multiple_of(64 * 1024) {
134134
return Err(
135135
"wasm.runtime.max_memory_bytes must be a multiple of the WebAssembly page size (65536)"
136136
.into(),

0 commit comments

Comments
 (0)