Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed May 8, 2024
1 parent 9ae20ff commit 89e2250
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bencher/src/build_wasm/wasm_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ fn project_enabled_features(
// features already being present in nightly, we need this code to make
// runtimes compile with all the possible rustc versions.
if v.len() == 1
&& v.get(0).map_or(false, |v| *v == format!("dep:{}", f))
&& v.first().map_or(false, |v| *v == format!("dep:{}", f))
&& std_enabled.as_ref().map(|e| e.iter().any(|ef| ef == *f)).unwrap_or(false)
{
return false;
Expand Down
1 change: 0 additions & 1 deletion weight-meter/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ impl pallet_balances::Config for Runtime {
type RuntimeHoldReason = RuntimeHoldReason;
type RuntimeFreezeReason = RuntimeFreezeReason;
type FreezeIdentifier = ();
type MaxHolds = ();
type MaxFreezes = ();
type WeightInfo = ();
}
Expand Down

0 comments on commit 89e2250

Please sign in to comment.