Skip to content

Commit

Permalink
Add semver violation
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Feb 7, 2023
1 parent fc2b2da commit f76a9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/time/sleep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ use std::task::{self, Poll};
// Alias for old name in 0.x
#[cfg_attr(docsrs, doc(alias = "delay_until"))]
#[track_caller]
pub fn sleep_until(deadline: Instant) -> Sleep {
pub fn sleep_until(deadline: Instant, val: u32) -> Sleep {
return Sleep::new_timeout(deadline, trace::caller_location());
}

Expand Down

0 comments on commit f76a9d6

Please sign in to comment.