Skip to content

Commit dbdac10

Browse files
author
Alice Wang
committed
[bssl] Add clippy::or_fun_call warning to the crate
This cl adds clippy::or_fun_call warning to the bssl crate to opt in this check. The check is disabled by default since [1]. This helps us avoid work as in aosp/3008114. [1] rust-lang/rust-clippy#9829 Test: add an ok_or usage and check if there's warning Change-Id: I0519eaddc467f91f676eb0af24e68fb69fcf0586
1 parent 1da2d5d commit dbdac10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/bssl/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
//! Safe wrappers around the BoringSSL API.
1616
1717
#![cfg_attr(not(feature = "std"), no_std)]
18+
#![warn(clippy::or_fun_call)]
1819

1920
extern crate alloc;
2021

0 commit comments

Comments
 (0)