From 8e0e77b0a0dbeb4ba77a1a457afbbe9211494f85 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Fri, 3 Nov 2023 00:25:27 +0000 Subject: [PATCH] zcash_client_backend: Remove `fees::ChangeError::map` from the public API It is undocumented, unused outside of this crate, and unreleased, so we make it crate-private for now. --- zcash_client_backend/src/fees.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zcash_client_backend/src/fees.rs b/zcash_client_backend/src/fees.rs index 2f72158d0..7a1568d15 100644 --- a/zcash_client_backend/src/fees.rs +++ b/zcash_client_backend/src/fees.rs @@ -120,7 +120,7 @@ pub enum ChangeError { } impl ChangeError { - pub fn map E0>(self, f: F) -> ChangeError { + pub(crate) fn map E0>(self, f: F) -> ChangeError { match self { ChangeError::InsufficientFunds { available,