Skip to content

Commit 9e0c93e

Browse files
Now always implementing core error instead of std erro
1 parent c8b7f7c commit 9e0c93e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tokenizer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,7 @@ impl fmt::Display for TokenizerError {
782782
}
783783
}
784784

785-
#[cfg(feature = "std")]
786-
impl std::error::Error for TokenizerError {}
785+
impl core::error::Error for TokenizerError {}
787786

788787
struct State<'a> {
789788
peekable: Peekable<Chars<'a>>,

0 commit comments

Comments
 (0)