Skip to content

Commit

Permalink
remove unneeded return statement to make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <[email protected]>
  • Loading branch information
Mossaka committed Apr 26, 2023
1 parent 3b437d0 commit 4476a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/containerd-shim-wasmedge/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ mod rootdirtest {
write!(&opts_file, "{}", serde_json::to_string(&opts)?)?;
let root = determine_rootdir(dir.path(), namespace.into())?;
assert_eq!(root, rootdir.join(namespace));
return Ok(());
Ok(())
}

#[test]
Expand All @@ -191,7 +191,7 @@ mod rootdirtest {
root,
PathBuf::from(DEFAULT_CONTAINER_ROOT_DIR).join(namespace)
);
return Ok(());
Ok(())
}
}

Expand Down

0 comments on commit 4476a1e

Please sign in to comment.