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:
parent
a77b6c631c
commit
8e0e77b0a0
|
@ -120,7 +120,7 @@ pub enum ChangeError<E, NoteRefT> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<E, NoteRefT> 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 {
|
match self {
|
||||||
ChangeError::InsufficientFunds {
|
ChangeError::InsufficientFunds {
|
||||||
available,
|
available,
|
||||||
|
|
Loading…
Reference in New Issue