Remove manual doc_cfg feature because we have doc_auto_cfg

This commit is contained in:
xmppftw xmppftw 2024-08-04 22:52:28 +02:00
commit 2103ef0191
10 changed files with 1 additions and 28 deletions

View file

@ -34,7 +34,6 @@ pub enum MechanismError {
}
#[cfg(feature = "scram")]
#[cfg_attr(docsrs, doc(cfg(feature = "scram")))]
impl From<DeriveError> for MechanismError {
fn from(err: DeriveError) -> MechanismError {
MechanismError::DeriveError(err)
@ -42,7 +41,6 @@ impl From<DeriveError> for MechanismError {
}
#[cfg(feature = "scram")]
#[cfg_attr(docsrs, doc(cfg(feature = "scram")))]
impl From<InvalidLength> for MechanismError {
fn from(err: InvalidLength) -> MechanismError {
MechanismError::InvalidKeyLength(err)