Skip to content

Commit

Permalink
chore(clippy): make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop committed Nov 30, 2023
1 parent 16f5a3a commit 1050c99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/filetests/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl Tests {
fn push(&mut self, p: &Path, wasm: &[u8]) -> Result<()> {
let (module, name) = (
Self::file_name(p.parent().expect("parent not found")),
Self::file_name(&p.with_extension("")),
Self::file_name(p.with_extension("")),
);

let ident_name = name.replace('-', "_");
Expand Down
2 changes: 1 addition & 1 deletion examples/constructor.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Storage example.
//! Constructor example.
#![cfg_attr(target_arch = "wasm32", no_std)]
#![cfg_attr(target_arch = "wasm32", no_main)]

Expand Down

0 comments on commit 1050c99

Please sign in to comment.