Skip to content

Commit 45d79fc

Browse files
authored
Merge pull request #267 from fbq/dev/rust-err
Improvement to Error
2 parents ffdacf7 + 40a271a commit 45d79fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/kernel/error.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use core::{num::TryFromIntError, str::Utf8Error};
1313
///
1414
/// The kernel defines a set of integer generic error codes based on C and
1515
/// POSIX ones. These codes may have a more specific meaning in some contexts.
16+
#[derive(Debug)]
1617
pub struct Error(c_types::c_int);
1718

1819
impl Error {

0 commit comments

Comments
 (0)