Skip to content

Commit 9cca6a8

Browse files
committed
Fix clippy lint
1 parent eff66a5 commit 9cca6a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vm/src/compatibility.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ pub fn check_wasm(wasm_code: &[u8], available_capabilities: &HashSet<String>) ->
139139
check_wasm_with_logs(wasm_code, available_capabilities, Off)
140140
}
141141

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

0 commit comments

Comments
 (0)