Skip to content

Commit 688b663

Browse files
committed
fmt
1 parent 574f7c7 commit 688b663

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

crates/bitwarden-vault/src/cipher/attachment_client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ use bitwarden_core::Client;
44
use bitwarden_crypto::EncString;
55
use bitwarden_error::bitwarden_error;
66
use thiserror::Error;
7+
#[cfg(feature = "wasm")]
8+
use wasm_bindgen::prelude::*;
79

810
use crate::{
911
Attachment, AttachmentEncryptResult, AttachmentFile, AttachmentFileView, AttachmentView,
1012
Cipher, DecryptError, EncryptError, VaultClient,
1113
};
1214

13-
#[cfg(feature = "wasm")]
14-
use wasm_bindgen::prelude::*;
15-
1615
#[cfg_attr(feature = "wasm", wasm_bindgen)]
1716
pub struct AttachmentsClient {
1817
pub(crate) client: Client,

crates/bitwarden-vault/src/totp_client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
use bitwarden_core::Client;
22
use chrono::{DateTime, Utc};
3+
#[cfg(feature = "wasm")]
4+
use wasm_bindgen::prelude::*;
35

46
use crate::{
57
generate_totp, generate_totp_cipher_view, CipherListView, TotpError, TotpResponse, VaultClient,
68
};
79

8-
#[cfg(feature = "wasm")]
9-
use wasm_bindgen::prelude::*;
10-
1110
#[cfg_attr(feature = "wasm", wasm_bindgen)]
1211
pub struct TotpClient {
1312
pub(crate) client: Client,

crates/bitwarden-vault/src/vault_client.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
use bitwarden_core::Client;
2+
#[cfg(feature = "wasm")]
3+
use wasm_bindgen::prelude::*;
24

35
use crate::{
46
sync::{sync, SyncError},
57
SyncRequest, SyncResponse,
68
};
79

8-
#[cfg(feature = "wasm")]
9-
use wasm_bindgen::prelude::*;
10-
1110
#[derive(Clone)]
1211
#[cfg_attr(feature = "wasm", wasm_bindgen)]
1312
pub struct VaultClient {

0 commit comments

Comments
 (0)