cleanup doc comment errors

This commit is contained in:
bunnie 2023-12-01 22:08:34 +08:00
parent 0b26530887
commit 5aff0f2413
2 changed files with 5 additions and 5 deletions

View file

@ -52,10 +52,10 @@ const CMD_FUSE_CNTL: u32 = 0b110100;
impl EfusePhy { impl EfusePhy {
pub fn new() -> Self { pub fn new() -> Self {
EfusePhy { EfusePhy {
/// bank mapping as follows: // bank mapping as follows:
/// 0 - config // 0 - config
/// 1-11 - key (11 shared with user LSB) // 1-11 - key (11 shared with user LSB)
/// 12 - user // 12 - user
banks: [0; FUSE_BANKS], banks: [0; FUSE_BANKS],
key: [0; 32], key: [0; 32],
user: 0, user: 0,

View file

@ -115,7 +115,7 @@ impl Pddb {
cb_handle: RefCell::new(None), cb_handle: RefCell::new(None),
keys, keys,
trng: trng::Trng::new(&xns).unwrap(), trng: trng::Trng::new(&xns).unwrap(),
/// These are record the result of the most recent call to list_keys() // These are record the result of the most recent call to list_keys()
key_count: RefCell::new(0), key_count: RefCell::new(0),
found_key_count: RefCell::new(0), found_key_count: RefCell::new(0),
} }