From 635fa0e6ac31e1afe9d1f7c162202fbf4dae73d8 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Fri, 18 Feb 2022 11:20:55 +0100 Subject: [PATCH] Remove gratuitous fn from public API --- pcsc/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsc/src/lib.rs b/pcsc/src/lib.rs index 8f1ecdb..0c3ede0 100644 --- a/pcsc/src/lib.rs +++ b/pcsc/src/lib.rs @@ -149,7 +149,7 @@ impl<'b> TxClient<'b> { } /// Try to select the OpenPGP application on a card - pub fn select(card_tx: &mut TxClient) -> Result<(), Error> { + fn select(card_tx: &mut TxClient) -> Result<(), Error> { if ::select(card_tx).is_ok() { Ok(()) } else { @@ -670,10 +670,10 @@ impl PcscCard { Ok(self) } - pub fn card_caps(&self) -> Option { + fn card_caps(&self) -> Option { self.card_caps } - pub fn reader_caps(&self) -> HashMap { + fn reader_caps(&self) -> HashMap { self.reader_caps.clone() } }