openpgp-card-sequoia: rename Card<Open>::into_card -> into_backend
This commit is contained in:
parent
52a145528e
commit
e6bb9cccca
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ impl Card<Open> {
|
|||
/// 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<dyn CardBackend + Send + Sync> {
|
||||
pub fn into_backend(self) -> Box<dyn CardBackend + Send + Sync> {
|
||||
self.state.pgp.into_card()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue