浏览代码

Merge #553

553: Fixed typo r=Dirbaio a=mkb2091



Co-authored-by: mkb2091 <mkb2191@protonmail.com>
bors[bot] 3 年之前
父节点
当前提交
27c9fdac8c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/time.rs

+ 2 - 2
src/time.rs

@@ -90,12 +90,12 @@ impl Instant {
     }
 
     /// The total number of milliseconds that have passed since
-    /// the biginning of time.
+    /// the beginning of time.
     pub const fn total_millis(&self) -> i64 {
         self.micros / 1000
     }
     /// The total number of milliseconds that have passed since
-    /// the biginning of time.
+    /// the beginning of time.
     pub const fn total_micros(&self) -> i64 {
         self.micros
     }