Able 2021-11-12 00:44:43 -06:00
commit fc887db31c
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ macro_rules! syscall_enum {
$($Variant=$Value),*
}
impl From<usize> for SysCall {
impl core::convert::From<usize> for SysCall {
fn from(n: usize) -> Self {
match n {
$($Value => Self::$Variant),*,