Skip to content

Commit

Permalink
Enable unwrap_used clippy warning to prevent regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-signal committed Feb 5, 2021
1 parent 6335535 commit 84c7a58
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions rust/aes-gcm-siv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#![cfg_attr(target_arch = "aarch64", feature(stdsimd))]
#![cfg_attr(target_arch = "aarch64", feature(aarch64_target_feature))]
#![deny(clippy::unwrap_used)]

mod aes;
mod aes_gcm_siv;
Expand Down
1 change: 1 addition & 0 deletions rust/bridge/ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//

#![allow(clippy::missing_safety_doc)]
#![deny(clippy::unwrap_used)]

use async_trait::async_trait;
use libc::{c_char, c_int, c_uchar, c_uint, size_t};
Expand Down
1 change: 1 addition & 0 deletions rust/bridge/jni/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//

#![allow(clippy::missing_safety_doc)]
#![deny(clippy::unwrap_used)]

use async_trait::async_trait;
use jni::objects::{JClass, JObject, JValue};
Expand Down
1 change: 1 addition & 0 deletions rust/bridge/shared/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//

#![allow(clippy::missing_safety_doc)]
#![deny(clippy::unwrap_used)]

use aes_gcm_siv::Aes256GcmSiv;
use libsignal_bridge_macros::*;
Expand Down
1 change: 1 addition & 0 deletions rust/protocol/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
//

#![deny(unsafe_code)]
#![deny(clippy::unwrap_used)]

mod address;
mod consts;
Expand Down

0 comments on commit 84c7a58

Please sign in to comment.