Add missing doc(cfg) attrs
parent
b95ebe444e
commit
c4e4830f32
|
@ -120,11 +120,13 @@ pub enum Error {
|
||||||
|
|
||||||
/// An error occurred in the crypto store.
|
/// An error occurred in the crypto store.
|
||||||
#[cfg(feature = "encryption")]
|
#[cfg(feature = "encryption")]
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
CryptoStoreError(#[from] CryptoStoreError),
|
CryptoStoreError(#[from] CryptoStoreError),
|
||||||
|
|
||||||
/// An error occurred during decryption.
|
/// An error occurred during decryption.
|
||||||
#[cfg(feature = "encryption")]
|
#[cfg(feature = "encryption")]
|
||||||
|
#[cfg_attr(feature = "docs", doc(cfg(encryption)))]
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
DecryptorError(#[from] DecryptorError),
|
DecryptorError(#[from] DecryptorError),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue