Fix test
This commit is contained in:
parent
f4a78e00a7
commit
573734008a
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue