From e6bb9cccca9c7fe2d05fc7c31f6c910d800faf6b Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Wed, 6 Sep 2023 01:09:11 +0200 Subject: [PATCH] openpgp-card-sequoia: rename Card::into_card -> into_backend --- openpgp-card-sequoia/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }