[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] https://github.com/rust-lang/rust-clippy/pull/9829
Test: add an ok_or usage and check if there's warning
Change-Id: I0519eaddc467f91f676eb0af24e68fb69fcf0586
diff --git a/libs/bssl/src/lib.rs b/libs/bssl/src/lib.rs
index ad51b61..686abf9 100644
--- a/libs/bssl/src/lib.rs
+++ b/libs/bssl/src/lib.rs
@@ -15,6 +15,7 @@
//! Safe wrappers around the BoringSSL API.
#![cfg_attr(not(feature = "std"), no_std)]
+#![warn(clippy::or_fun_call)]
extern crate alloc;