Skip to content

Commit 26b5012

Browse files
committed
add TODO
1 parent 62eaecd commit 26b5012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-pass/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020
let now2 = Instant::now();
2121
assert!(now2 > now1);
2222

23-
#[cfg(target_os = "linux")]
23+
#[cfg(target_os = "linux")] // TODO: macOS does not support Instant subtraction
2424
{
2525
let diff = now2.duration_since(now1);
2626
assert!(diff.as_micros() > 0);

0 commit comments

Comments
 (0)