Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Aug 22, 2024
1 parent eff66a5 commit 9cca6a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vm/src/compatibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ pub fn check_wasm(wasm_code: &[u8], available_capabilities: &HashSet<String>) ->
check_wasm_with_logs(wasm_code, available_capabilities, Off)
}

pub fn check_wasm_with_logs<'a>(
pub fn check_wasm_with_logs(
wasm_code: &[u8],
available_capabilities: &HashSet<String>,
logs: Logger<'a>,
logs: Logger<'_>,
) -> VmResult<()> {
logs.add(|| format!("Size of Wasm blob: {}", wasm_code.len()));

Expand Down

0 comments on commit 9cca6a8

Please sign in to comment.