Skip to content

Commit 9ffe156

Browse files
committed
Format code
1 parent c4fe2fb commit 9ffe156

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/vm/src/compatibility.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ fn check_interface_version(module: &ParsedWasm) -> VmResult<()> {
175175
} else {
176176
// Exactly one interface version found
177177
let version_str = first_interface_version_export.as_str();
178-
if SUPPORTED_INTERFACE_VERSIONS.contains(&version_str)
179-
{
178+
if SUPPORTED_INTERFACE_VERSIONS.contains(&version_str) {
180179
Ok(())
181180
} else {
182181
Err(VmError::static_validation_err(

0 commit comments

Comments
 (0)