Skip to content

Commit 9402640

Browse files
authored
Merge pull request #1 from dwalker109/patch-1
Fix typo in std:error::Error support
2 parents 61d4ce4 + 354bc14 commit 9402640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pub struct OutOfBoundsError {
204204
pub token: Token,
205205
}
206206
#[cfg(feature = "std")]
207-
impl std::error::Erorr for OutOfBoundsError {}
207+
impl std::error::Error for OutOfBoundsError {}
208208

209209
impl Display for OutOfBoundsError {
210210
fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result {

0 commit comments

Comments
 (0)