Fix typos in API documentation

This commit is contained in:
Jianfeng Jiang
2024-05-30 11:25:58 +00:00
committed by Tate, Hongliang Tian
parent 6e59617fc7
commit 33a7da9991
65 changed files with 415 additions and 323 deletions

View File

@ -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)
}