Skip to content

Commit

Permalink
fmt + clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
noise64 committed Oct 15, 2024
1 parent 40e49be commit 9826829
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion wasm-rpc-stubgen/src/commands/dependencies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ pub fn add_stub_dependency(
source: source.clone(),
target: dest_deps_dir
.join(&package_dep_dir_name)
.join(get_file_name(&source)?),
.join(get_file_name(source)?),
});
}
}
Expand Down
4 changes: 1 addition & 3 deletions wasm-rpc-stubgen/src/wit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,7 @@ pub fn copy_wit_dependencies(def: &StubDefinition) -> anyhow::Result<()> {
for source in sources {
if is_source_package {
let dest = target_deps
.join(naming::wit::package_dep_dir_name(
&def.source_package_name,
))
.join(naming::wit::package_dep_dir_name(&def.source_package_name))
.join(get_file_name(source)?);
log_action(
" Copying",
Expand Down

0 comments on commit 9826829

Please sign in to comment.