Minor: fix typo
This commit is contained in:
parent
d96d0f72b5
commit
1bb3d6a371
|
@ -30,7 +30,7 @@ impl From<Infallible> for ErrorInner {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Error {
|
impl Error {
|
||||||
/// Returns the invalid base58 ssscharacter, if encountered.
|
/// Returns the invalid base58 character, if encountered.
|
||||||
pub fn invalid_character(&self) -> Option<u8> {
|
pub fn invalid_character(&self) -> Option<u8> {
|
||||||
match self.0 {
|
match self.0 {
|
||||||
ErrorInner::Decode(ref e) => Some(e.invalid_character()),
|
ErrorInner::Decode(ref e) => Some(e.invalid_character()),
|
||||||
|
|
Loading…
Reference in New Issue