diff --git a/openpgp-card-sequoia/src/lib.rs b/openpgp-card-sequoia/src/lib.rs index 6fe6a64..bf41645 100644 --- a/openpgp-card-sequoia/src/lib.rs +++ b/openpgp-card-sequoia/src/lib.rs @@ -268,7 +268,7 @@ impl Card { /// This is useful to take the card object into a different context /// (e.g. to perform operations on the card with the `yubikey-management` /// crate, without closing the connection to the card). - pub fn into_card(self) -> Box { + pub fn into_backend(self) -> Box { self.state.pgp.into_card() } }