File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 =
You can’t perform that action at this time.
0 commit comments