fix typo in error message

This commit is contained in:
Afounso Souza 2025-06-29 21:23:29 +02:00 committed by GitHub
parent ad40e69a85
commit c642bebeb7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -672,7 +672,7 @@ impl From<Infallible> for IndexOutOfRangeError {
impl fmt::Display for IndexOutOfRangeError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "index {} out of range [0, 2^31 - 1] (do you have an hardened child number, rather than an index?)", self.index)
write!(f, "index {} out of range [0, 2^31 - 1] (do you have a hardened child number, rather than an index?)", self.index)
}
}