Skip to content

Commit

Permalink
more clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  • Loading branch information
ggwpez committed Sep 23, 2024
1 parent 91f5afd commit 751ec26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion substrate/primitives/api/test/tests/trybuild.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn ui() {
}

// As trybuild is using `cargo check`, we don't need the real WASM binaries.
env::set_var("SKIP_WASM_BUILD", "1");
std::env::set_var("SKIP_WASM_BUILD", "1");

// Warnings are part of our UI.
std::env::set_var("RUSTFLAGS", "--deny warnings");
Expand Down
2 changes: 1 addition & 1 deletion substrate/primitives/runtime-interface/tests/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn ui() {
}

// As trybuild is using `cargo check`, we don't need the real WASM binaries.
env::set_var("SKIP_WASM_BUILD", "1");
std::env::set_var("SKIP_WASM_BUILD", "1");

let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/*.rs");
Expand Down

0 comments on commit 751ec26

Please sign in to comment.