From 77f688cf49d07cd61e8cd78cb705dfc0859bc335 Mon Sep 17 00:00:00 2001 From: hky1999 <976929993@qq.com> Date: Sat, 13 Jul 2024 16:09:13 +0800 Subject: [PATCH] fix: docs missed in riscv_goldfish --- crates/riscv_goldfish/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/riscv_goldfish/src/lib.rs b/crates/riscv_goldfish/src/lib.rs index eb9f308142..034744182c 100644 --- a/crates/riscv_goldfish/src/lib.rs +++ b/crates/riscv_goldfish/src/lib.rs @@ -19,7 +19,7 @@ impl Rtc { Rtc { base_address } } - // Returns the current time in seconds since UNIX epoch. + /// Returns the current time in seconds since UNIX epoch. pub fn get_unix_timestamp(&self) -> u64 { const NSEC_PER_SEC: u64 = 1_000_000_000;