summaryrefslogtreecommitdiffstats
path: root/vendor/sec1/src/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sec1/src/error.rs')
-rw-r--r--vendor/sec1/src/error.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/vendor/sec1/src/error.rs b/vendor/sec1/src/error.rs
index 3700ac5f2..0d8bc8b70 100644
--- a/vendor/sec1/src/error.rs
+++ b/vendor/sec1/src/error.rs
@@ -14,7 +14,6 @@ pub type Result<T> = core::result::Result<T, Error>;
pub enum Error {
/// ASN.1 DER-related errors.
#[cfg(feature = "der")]
- #[cfg_attr(docsrs, doc(cfg(feature = "der")))]
Asn1(der::Error),
/// Cryptographic errors.
@@ -52,7 +51,6 @@ impl fmt::Display for Error {
}
#[cfg(feature = "der")]
-#[cfg_attr(docsrs, doc(cfg(feature = "der")))]
impl From<der::Error> for Error {
fn from(err: der::Error) -> Error {
Error::Asn1(err)