Skip to content

Commit 7424051

Browse files
committed
cargo fmt
1 parent f173422 commit 7424051

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/register/pmpcfgx.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ pub mod pmpcfg0 {
8383
#[cfg(riscv64)]
8484
assert!(index < 8);
8585

86-
PmpByte { byte:self.bits.get_bits(8 * index..8 * (index + 1)) as u8 }
86+
PmpByte {
87+
byte: self.bits.get_bits(8 * index..8 * (index + 1)) as u8,
88+
}
8789
}
8890

89-
90-
9191
///Returns pmp[x]cfg configuration structure
9292
#[inline]
9393
pub fn pmp_cfg(&self, index: usize) -> Pmpconfig {

0 commit comments

Comments
 (0)