Open nakul1010 opened 1 year ago
The error.rs is being imported as mod error; and not pub mod error;. I was trying to match the error returned but couldn't do it I can't access it from my crate.
error.rs
mod error;
pub mod error;
https://docs.rs/hex/0.4.3/hex/enum.FromHexError.html is pub.
The
error.rs
is being imported asmod error;
and notpub mod error;
. I was trying to match the error returned but couldn't do it I can't access it from my crate.