Skip to content

Commit 2a3ae98

Browse files
committed
time: Fix typo
1 parent 881fa8a commit 2a3ae98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ impl SystemTime {
528528
/// // But adding just 1ns will already fail.
529529
/// assert_eq!(SystemTime::MAX.checked_add(Duration::new(0, 1)), None);
530530
///
531-
/// // Utilize this for saturating artihmetic to improve error handling.
531+
/// // Utilize this for saturating arithmetic to improve error handling.
532532
/// // In this case, we will use a certificate with a timestamp in the
533533
/// // future as a practical example.
534534
/// let configured_offset = Duration::from_secs(60 * 60 * 24);
@@ -563,7 +563,7 @@ impl SystemTime {
563563
/// // But subtracting just 1ns will already fail.
564564
/// assert_eq!(SystemTime::MIN.checked_sub(Duration::new(0, 1)), None);
565565
///
566-
/// // Utilize this for saturating artihmetic to improve error handling.
566+
/// // Utilize this for saturating arithmetic to improve error handling.
567567
/// // In this case, we will use a cache expiry as a practical example.
568568
/// let configured_expiry = Duration::from_secs(60 * 3);
569569
/// let expiry_threshold =

0 commit comments

Comments
 (0)