Skip to content

Commit f67081a

Browse files
committed
Allow unnecessary parentheses
Clippy emits: warning: unnecessary parentheses around assigned value Add a attribute to allow unnecessary parentheses.
1 parent 3151352 commit f67081a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

secp256k1-sys/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub const SECP256K1_START_VERIFY: c_uint = 1 | (1 << 8);
4343
/// Flag for context to enable signing precomputation
4444
pub const SECP256K1_START_SIGN: c_uint = 1 | (1 << 9);
4545
/// Flag for keys to indicate uncompressed serialization format
46+
#[allow(unused_parens)]
4647
pub const SECP256K1_SER_UNCOMPRESSED: c_uint = (1 << 1);
4748
/// Flag for keys to indicate compressed serialization format
4849
pub const SECP256K1_SER_COMPRESSED: c_uint = (1 << 1) | (1 << 8);

0 commit comments

Comments
 (0)