From 5aff0f24138389c96a5a412ca4526ed03e509535 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 1 Dec 2023 22:08:34 +0800 Subject: [PATCH] cleanup doc comment errors --- services/jtag/src/efuse_api.rs | 8 ++++---- services/pddb/src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/services/jtag/src/efuse_api.rs b/services/jtag/src/efuse_api.rs index 7e01ebc16..5f24ec381 100644 --- a/services/jtag/src/efuse_api.rs +++ b/services/jtag/src/efuse_api.rs @@ -52,10 +52,10 @@ const CMD_FUSE_CNTL: u32 = 0b110100; impl EfusePhy { pub fn new() -> Self { EfusePhy { - /// bank mapping as follows: - /// 0 - config - /// 1-11 - key (11 shared with user LSB) - /// 12 - user + // bank mapping as follows: + // 0 - config + // 1-11 - key (11 shared with user LSB) + // 12 - user banks: [0; FUSE_BANKS], key: [0; 32], user: 0, diff --git a/services/pddb/src/lib.rs b/services/pddb/src/lib.rs index 84d2e5d22..a568e3417 100644 --- a/services/pddb/src/lib.rs +++ b/services/pddb/src/lib.rs @@ -115,7 +115,7 @@ impl Pddb { cb_handle: RefCell::new(None), keys, 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), found_key_count: RefCell::new(0), }