Skip to content

Commit 391ec99

Browse files
committed
Global clippy
1 parent 0272ae5 commit 391ec99

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

crates/bitwarden-wasm-internal/src/client.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ use crate::{vault::VaultClient, CryptoClient};
1212
#[wasm_bindgen]
1313
pub struct BitwardenClient(pub(crate) Rc<Client>);
1414

15-
#[allow(clippy::unused_async)]
1615
#[wasm_bindgen]
1716
impl BitwardenClient {
1817
#[wasm_bindgen(constructor)]

crates/bitwarden-wasm-internal/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// We define the WASM API as async so that we can use the same API for the IPC remote API.
2+
// This means that some methods will need to be async even though they do no async work.
3+
#![allow(clippy::unused_async)]
4+
15
mod client;
26
mod crypto;
37
mod custom_types;

0 commit comments

Comments
 (0)