Add missing doc(cfg) attrs
This commit is contained in:
parent
b95ebe444e
commit
c4e4830f32
1 changed files with 2 additions and 0 deletions
|
@ -120,11 +120,13 @@ pub enum Error {
|
|||
|
||||
/// An error occurred in the crypto store.
|
||||
#[cfg(feature = "encryption")]
|
||||
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
|
||||
#[error(transparent)]
|
||||
CryptoStoreError(#[from] CryptoStoreError),
|
||||
|
||||
/// An error occurred during decryption.
|
||||
#[cfg(feature = "encryption")]
|
||||
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
|
||||
#[error(transparent)]
|
||||
DecryptorError(#[from] DecryptorError),
|
||||
|
||||
|
|
Loading…
Reference in a new issue