From 5d6fd7e4265e601ede3f230fb8bd083ecda17e1e Mon Sep 17 00:00:00 2001 From: Liam Kinne Date: Wed, 3 Jul 2024 23:45:06 +1000 Subject: [PATCH] fix typo --- src/time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/time.rs b/src/time.rs index e6904af5e..f06a8d0a3 100644 --- a/src/time.rs +++ b/src/time.rs @@ -198,7 +198,7 @@ impl Duration { } } - /// Create a new `Instant` from a number of seconds. + /// Create a new `Duration` from a number of seconds. pub const fn from_secs(secs: u64) -> Duration { Duration { micros: secs * 1000000,