Liam Kinne 9 달 전
부모
커밋
5d6fd7e426
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/time.rs

+ 1 - 1
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,