Skip to content

Commit 23f3cc6

Browse files
authored
Merge pull request #104 from XuJiandong/use-core-error
refactor: use core::Error without requiring std
2 parents 5d4a315 + 8450a8f commit 23f3cc6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

bindings/rust/src/error.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,5 @@ impl fmt::Display for Error {
7979
}
8080
}
8181

82-
cfg_if::cfg_if! {
83-
if #[cfg(feature = "std")] {
84-
impl ::std::error::Error for VerificationError {}
85-
impl ::std::error::Error for Error {}
86-
}
87-
}
82+
impl core::error::Error for VerificationError {}
83+
impl core::error::Error for Error {}

0 commit comments

Comments
 (0)