Skip to content

Commit 8d58ec3

Browse files
committed
clippy: use u32::MAX rather than u32::max_value
1 parent 172e36b commit 8d58ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl OutPoint {
9999
pub fn null() -> OutPoint {
100100
OutPoint {
101101
txid: Txid::all_zeros(),
102-
vout: u32::max_value(),
102+
vout: u32::MAX,
103103
}
104104
}
105105

0 commit comments

Comments
 (0)