Skip to content

Commit 070aa2c

Browse files
base16ct: use core::error:Error (#1842)
1 parent d90a41e commit 070aa2c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

base16ct/src/error.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ impl fmt::Display for Error {
2222
}
2323
}
2424

25-
#[cfg(feature = "std")]
26-
impl std::error::Error for Error {}
25+
impl core::error::Error for Error {}
2726

2827
impl From<Error> for fmt::Error {
2928
fn from(_: Error) -> fmt::Error {

0 commit comments

Comments
 (0)