add TODO
This commit is contained in:
parent
62eaecd2aa
commit
26b5012368
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ fn main() {
|
|||
let now2 = Instant::now();
|
||||
assert!(now2 > now1);
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg(target_os = "linux")] // TODO: macOS does not support Instant subtraction
|
||||
{
|
||||
let diff = now2.duration_since(now1);
|
||||
assert!(diff.as_micros() > 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue