openpgp-card-sequoia: rename Card<Open>::into_card -> into_backend

This commit is contained in:
Heiko Schaefer 2023-09-06 01:09:11 +02:00
parent 52a145528e
commit e6bb9cccca
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -268,7 +268,7 @@ impl Card<Open> {
/// This is useful to take the card object into a different context /// This is useful to take the card object into a different context
/// (e.g. to perform operations on the card with the `yubikey-management` /// (e.g. to perform operations on the card with the `yubikey-management`
/// crate, without closing the connection to the card). /// crate, without closing the connection to the card).
pub fn into_card(self) -> Box<dyn CardBackend + Send + Sync> { pub fn into_backend(self) -> Box<dyn CardBackend + Send + Sync> {
self.state.pgp.into_card() self.state.pgp.into_card()
} }
} }