Skip to content

Commit

Permalink
Fix lints and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Dec 12, 2024
1 parent 84c0aca commit f38398e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/bitwarden-crypto/src/keys/key_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ pub trait KeyRefs {
/// pub enum AsymmKeyRef {
/// PrivateKey,
/// }
/// pub Refs => SymmKeyRef, AsymmKeyRef;
/// }
#[macro_export]
macro_rules! key_refs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl<Key: KeyRef> SliceLike<Key> for RustBackendImpl<Key> {
}
}

#[allow(unused_variables)]
fn mlock_data<T>(data: &mut [T]) {
#[cfg(all(
not(target_arch = "wasm32"),
Expand All @@ -53,6 +54,7 @@ fn mlock_data<T>(data: &mut [T]) {
}
}

#[allow(unused_variables)]
fn munlock_data<T: Default>(data: &mut [T]) {
#[cfg(all(
not(target_arch = "wasm32"),
Expand Down

0 comments on commit f38398e

Please sign in to comment.