Skip to content

Commit 6da4a0b

Browse files
committed
Fix docs
1 parent 670c6a7 commit 6da4a0b

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

crates/bitwarden-core/src/key_management/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
//! usually used in the type bounds of [KeyStore],
88
//! [KeyStoreContext](bitwarden_crypto::KeyStoreContext),
99
//! [PrimitiveEncryptable](bitwarden_crypto::PrimitiveEncryptable),
10-
//! [PrimitiveEncryptableWithContentType](bitwarden_crypto::PrimitiveEncryptableWithContentType),
1110
//! [CompositeEncryptable](bitwarden_crypto::CompositeEncryptable), and
1211
//! [Decryptable](bitwarden_crypto::Decryptable).
1312
use bitwarden_crypto::{key_ids, KeyStore, SymmetricCryptoKey};

crates/bitwarden-crypto/src/store/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::{
1818
///
1919
/// This will usually be accessed from an implementation of [crate::Decryptable] or
2020
/// [crate::CompositeEncryptable], [crate::PrimitiveEncryptable],
21-
/// [crate::PrimitiveEncryptableWithContentType], but can also be obtained
21+
/// but can also be obtained
2222
/// through [super::KeyStore::context]
2323
///
2424
/// This context contains access to the user keys stored in the [super::KeyStore] (sometimes

crates/bitwarden-crypto/src/traits/encryptable.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
use crate::{store::KeyStoreContext, ContentFormat, CryptoError, EncString, KeyId, KeyIds};
1616

1717
/// An encryption operation that takes the input value and encrypts the fields on it recursively.
18-
/// Implementations should generally consist of calling [PrimitiveEncryptable::encrypt] or
19-
/// [PrimitiveEncryptableWithContentType::encrypt] for all the fields of the type. Sometimes, it is
20-
/// necessary to call [CompositeEncryptable::encrypt_composite], if the object is not a flat struct.
18+
/// Implementations should generally consist of calling [PrimitiveEncryptable::encrypt] for all the
19+
/// fields of the type. Sometimes, it is necessary to call
20+
/// [CompositeEncryptable::encrypt_composite], if the object is not a flat struct.
2121
pub trait CompositeEncryptable<Ids: KeyIds, Key: KeyId, Output> {
2222
/// For a struct made up of many small encstrings, such as a cipher, this takes the struct
2323
/// and recursively encrypts all the fields / sub-structs.

0 commit comments

Comments
 (0)