From 315aa7a94cc3f88a5c6466a27eb731a453931c78 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Tue, 29 Aug 2023 15:05:32 +0200 Subject: [PATCH] openpgp-card: Transaction::card_caps doesn't need to be mut --- openpgp-card/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpgp-card/src/lib.rs b/openpgp-card/src/lib.rs index 807fb0c..9a84926 100644 --- a/openpgp-card/src/lib.rs +++ b/openpgp-card/src/lib.rs @@ -255,7 +255,7 @@ impl Card { /// before they are automatically closed.) pub struct Transaction<'a> { tx: Box, - card_caps: &'a mut Option, + card_caps: &'a Option, } impl<'a> Transaction<'a> {