From 8597f1c32d9bf0617f89335fd07b0dd2419e8e1c Mon Sep 17 00:00:00 2001 From: Jakob Weisblat Date: Sun, 1 Apr 2018 19:07:32 -0400 Subject: [PATCH] Fix typo in register/misa.rs --- src/register/misa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register/misa.rs b/src/register/misa.rs index eb3f246..88428a9 100644 --- a/src/register/misa.rs +++ b/src/register/misa.rs @@ -24,7 +24,7 @@ impl Misa { let value = match () { #[cfg(target_pointer_width = "32")] () => (self.bits >> 30) as u8, - #[cfg(target_pointer_widht = "64")] + #[cfg(target_pointer_width = "64")] () => (self.bits >> 62) as u8, }; match value {