Skip to content

Commit 354bc14

Browse files
authored
Fix typo in std:error::Error support
Use of the `std` feature currently fails to compile due to this typo.
1 parent 61d4ce4 commit 354bc14

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)