Skip to content

Commit 0ec6ddc

Browse files
committed
use sleep instead of delay
1 parent 926d255 commit 0ec6ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/ui/src/span.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ async fn async_span_evt_props_macro() {
564564

565565
#[emit::span(rt: RT, guard: span, evt_props: emit::props! { a: 42 }, "test")]
566566
async fn exec() {
567-
tokio::time::delay(Default::default()).await;
567+
tokio::time::sleep(Default::default()).await;
568568

569569
let _span = span.push_prop("b", true);
570570
}

0 commit comments

Comments
 (0)