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.
This commit is contained in:
Jack Grigg 2023-11-03 00:25:27 +00:00
parent a77b6c631c
commit 8e0e77b0a0
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ pub enum ChangeError<E, NoteRefT> {
}
impl<E, NoteRefT> ChangeError<E, NoteRefT> {
pub fn map<E0, F: FnOnce(E) -> E0>(self, f: F) -> ChangeError<E0, NoteRefT> {
pub(crate) fn map<E0, F: FnOnce(E) -> E0>(self, f: F) -> ChangeError<E0, NoteRefT> {
match self {
ChangeError::InsufficientFunds {
available,