This commit is contained in:
Andres O. Vela 2023-10-29 20:03:11 +01:00
parent f4a78e00a7
commit 573734008a

View File

@ -15,7 +15,7 @@ use crate::{Duration, Instant};
/// ///
/// ```ignore /// ```ignore
/// fn has_a_second_passed(reference: Instant) -> bool { /// fn has_a_second_passed(reference: Instant) -> bool {
/// Instant::now().duration_since(reference) > Duration::from_secs(1) /// Instant::now().duration_since(reference) >= Duration::from_secs(1)
/// } /// }
/// ///
/// fn test_second_passed() { /// fn test_second_passed() {