Skip to content

Commit f05c392

Browse files
Update src/lib.rs
Co-authored-by: Leonardo L. <[email protected]>
1 parent 66e4f5a commit f05c392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ mod test {
10251025
#[cfg(all(feature = "async", not(feature = "tokio")))]
10261026
struct TestRuntime;
10271027

1028-
#[cfg(not(feature = "tokio"))]
1028+
#[cfg(all(feature = "async", not(feature = "tokio")))]
10291029
impl Sleeper for TestRuntime {
10301030
async fn sleep(duration: Duration) {
10311031
tokio::time::sleep(duration).await;

0 commit comments

Comments
 (0)