Skip to content

Commit 7486881

Browse files
committed
Update comments
1 parent 96aa359 commit 7486881

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
@@ -23,7 +23,7 @@ pub enum Range {
2323
NAPOT = 0b11,
2424
}
2525

26-
/// Pmp struct holds a readable configuration of a single pmp
26+
/// Pmp struct holds a high-level representation of a single pmp configuration
2727
#[derive(Clone, Copy, Debug)]
2828
pub struct Pmp {
2929
/// raw bits
@@ -37,12 +37,12 @@ pub struct Pmp {
3737
}
3838

3939
pub struct Pmpcsr {
40-
/// Holds the raw contents of the PMP CSR Register
40+
/// Holds the raw contents of a PMP CSR Register
4141
pub bits: usize,
4242
}
4343

4444
impl Pmpcsr {
45-
/// Take the register contents and translates into a Pmp configuration struct
45+
/// Take the register contents and translate into a Pmp configuration struct
4646
#[inline]
4747
pub fn into_config(&self, index: usize) -> Pmp {
4848
#[cfg(riscv32)]

0 commit comments

Comments
 (0)