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
@@ -100,7 +100,6 @@ impl CccId {
/// Set Cardholder Capability Container (CCC) ID
#[cfg(feature = "untested")]
#[cfg_attr(docsrs, doc(cfg(feature = "untested")))]
pub fn set(&self, yubikey: &mut YubiKey) -> Result<()> {
let mut buf = CCC_TMPL.to_vec();
buf[0..self.0.len()].copy_from_slice(&self.0);