This commit is contained in:
Able 2021-11-12 00:44:43 -06:00
commit fc887db31c

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),*,