Skip to content
This repository was archived by the owner on Jan 10, 2024. It is now read-only.

Commit 0a084f0

Browse files
committed
Modify trait implementation for binary module
1 parent acbfe08 commit 0a084f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/binary.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/// > SBI functions must return a pair of values in a0 and a1,
66
/// > with a0 returning an error code.
77
/// > This is analogous to returning the C structure `SbiRet`.
8-
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
8+
#[derive(Clone, Copy, PartialEq, Eq)]
99
#[repr(C)]
1010
pub struct SbiRet {
1111
/// Error number
@@ -41,6 +41,7 @@ impl core::fmt::Debug for SbiRet {
4141
}
4242
}
4343

44+
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
4445
pub enum Error {
4546
Failed,
4647
NotSupported,

0 commit comments

Comments
 (0)