]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/time.rs
Various minor/cosmetic improvements to code
[rust.git] / src / libstd / time.rs
index 5d0d501615f56b4d19a5d531b8474f4497c5cc04..667810485ee39d004f5aade433e402c299677cab 100644 (file)
@@ -330,7 +330,7 @@ pub fn duration_since(&self, earlier: SystemTime)
     /// Returns the amount of time elapsed since this system time was created.
     ///
     /// This function may fail as the underlying system clock is susceptible to
-    /// drift and updates (e.g. the system clock could go backwards), so this
+    /// drift and updates (e.g., the system clock could go backwards), so this
     /// function may not always succeed. If successful, [`Ok`]`(`[`Duration`]`)` is
     /// returned where the duration represents the amount of time elapsed from
     /// this time measurement to the current time.