4
0
dkhayes117 4 жил өмнө
parent
commit
7424051ca9

+ 3 - 3
src/register/pmpcfgx.rs

@@ -83,11 +83,11 @@ pub mod pmpcfg0 {
             #[cfg(riscv64)]
             assert!(index < 8);
 
-            PmpByte { byte:self.bits.get_bits(8 * index..8 * (index + 1)) as u8 }
+            PmpByte {
+                byte: self.bits.get_bits(8 * index..8 * (index + 1)) as u8,
+            }
         }
 
-
-
         ///Returns pmp[x]cfg configuration structure
         #[inline]
         pub fn pmp_cfg(&self, index: usize) -> Pmpconfig {