mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 01:43:22 +00:00
Fix typos in API documentation
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
6e59617fc7
commit
33a7da9991
@ -32,7 +32,7 @@ impl Jiffies {
|
||||
self.0
|
||||
}
|
||||
|
||||
/// Gets the `Duration` calculated from the jiffies counts.
|
||||
/// Gets the [`Duration`] calculated from the jiffies counts.
|
||||
pub fn as_duration(self) -> Duration {
|
||||
Duration::from_millis(self.0 * 1000 / TIMER_FREQ)
|
||||
}
|
||||
|
Reference in New Issue
Block a user