We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 438b062 commit 93c1911Copy full SHA for 93c1911
src/register/mstatus.rs
@@ -210,7 +210,7 @@ impl Mstatus {
210
#[cfg(riscv32)]
211
() => XLEN::XLEN32,
212
#[cfg(not(riscv32))]
213
- () => XLEN::from((self.bits() >> 32) as u8 & 0x3),
+ () => XLEN::from((self.bits >> 32) as u8 & 0x3),
214
}
215
216
@@ -223,7 +223,7 @@ impl Mstatus {
223
224
225
226
- () => XLEN::from((self.bits() >> 34) as u8 & 0x3),
+ () => XLEN::from((self.bits >> 34) as u8 & 0x3),
227
228
229
0 commit comments