diff --git a/openpgp-card-sequoia/src/lib.rs b/openpgp-card-sequoia/src/lib.rs index 0ee8fa8..be6fdf3 100644 --- a/openpgp-card-sequoia/src/lib.rs +++ b/openpgp-card-sequoia/src/lib.rs @@ -264,11 +264,8 @@ impl Card { } impl<'a> Card> { - /// Do not use! - /// - /// FIXME: this interface is currently used in `card-functionality`, for testing. - /// It will be removed. - pub fn new(mut opt: OpenPgpTransaction<'a>) -> Result { + // Internal constructor + fn new(mut opt: OpenPgpTransaction<'a>) -> Result { let ard = opt.application_related_data()?; Ok(Self {