Minor: fix typo

This commit is contained in:
Peter Todd 2025-03-05 18:17:50 +00:00
parent d96d0f72b5
commit 1bb3d6a371
No known key found for this signature in database
GPG Key ID: 2E5CB5D535512F37
1 changed files with 1 additions and 1 deletions

View File

@ -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()),