Skip to content

Commit 66c87af

Browse files
sam0x17Samuel Dare
authored andcommitted
clippy fix
1 parent ad85c27 commit 66c87af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/tests/swap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ fn test_swap_axons_weight_update() {
747747
// Verify the weight update
748748
let expected_weight = netuid_is_member.len() as u64
749749
* <Test as frame_system::Config>::DbWeight::get().reads_writes(1, 2);
750-
assert_eq!(weight, expected_weight.into());
750+
assert_eq!(weight, expected_weight);
751751
});
752752
}
753753

0 commit comments

Comments
 (0)