diff options
Diffstat (limited to 'x86_64/src/interrupts.rs')
-rw-r--r-- | x86_64/src/interrupts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/x86_64/src/interrupts.rs b/x86_64/src/interrupts.rs index 5c469c8..bcbb6f6 100644 --- a/x86_64/src/interrupts.rs +++ b/x86_64/src/interrupts.rs @@ -24,8 +24,8 @@ pub type Result<T> = result::Result<T, Error>; impl error::Error for Error { fn description(&self) -> &str { match self { - &Error::GetLapic(_) => "GetLapic ioctl failed", - &Error::SetLapic(_) => "SetLapic ioctl failed", + Error::GetLapic(_) => "GetLapic ioctl failed", + Error::SetLapic(_) => "SetLapic ioctl failed", } } } |