Use doc_auto_cfg (#514)

Removes manual feature annotations for docs.rs
This commit is contained in:
Tony Arcieri (iqlusion)
2023-08-15 15:39:29 -07:00
committed by GitHub
parent de142256d0
commit d226209ea4
10 changed files with 1 additions and 35 deletions
-1
View File
@@ -153,7 +153,6 @@ impl Certificate {
/// Delete a certificate located at the given slot of the given YubiKey
#[cfg(feature = "untested")]
#[cfg_attr(docsrs, doc(cfg(feature = "untested")))]
pub fn delete(yubikey: &mut YubiKey, slot: SlotId) -> Result<()> {
let txn = yubikey.begin_transaction()?;
write_certificate(&txn, slot, None, CertInfo::Uncompressed)