mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-29 02:02:28 +00:00
Fix test
This commit is contained in:
parent
f4a78e00a7
commit
573734008a
@ -15,7 +15,7 @@ use crate::{Duration, Instant};
|
||||
///
|
||||
/// ```ignore
|
||||
/// 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() {
|
||||
|
Loading…
Reference in New Issue
Block a user