Remove unnecessary cast of integer literal
Clippy emits: warning: casting integer literal to `usize` is unnecessary Remove the unnecessary cast.
This commit is contained in:
parent
999ac450bb
commit
cf8de73169
|
@ -1009,7 +1009,7 @@ mod tests {
|
|||
assert_eq!(txin.script_sig, Script::new());
|
||||
assert_eq!(txin.sequence, 0xFFFFFFFF);
|
||||
assert_eq!(txin.previous_output, OutPoint::default());
|
||||
assert_eq!(txin.witness.len(), 0 as usize);
|
||||
assert_eq!(txin.witness.len(), 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Reference in New Issue