Skip to content

Commit 582baf2

Browse files
committed
trivial: Turn some comments into doc comments
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent b200c9f commit 582baf2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

framework_lib/src/chromium_ec/commands.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ pub enum RebootEcFlags {
412412
}
413413

414414
pub struct EcRequestRebootEc {
415-
pub cmd: u8, /* enum RebootEcCmd */
415+
/// See enum RebootEcCmd
416+
pub cmd: u8,
416417
pub flags: u8,
417418
}
418419

@@ -770,10 +771,8 @@ impl EcRequest<EcResponseChargeLimitControl> for EcRequestChargeLimitControl {
770771
}
771772
}
772773

773-
/*
774-
* Configure the behavior of the charge limit control.
775-
* TODO: Use this
776-
*/
774+
/// Configure the behavior of the charge limit control.
775+
/// TODO: Use this
777776
pub const EC_CHARGE_LIMIT_RESTORE: u8 = 0x7F;
778777

779778
#[repr(u8)]

0 commit comments

Comments
 (0)