Skip to content

Commit b82c457

Browse files
Make TokioSleep.reset implementation not public
Co-authored-by: Sean McArthur <[email protected]>
1 parent 2b1e5d0 commit b82c457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/tokio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ impl Future for TokioSleep {
246246
impl Sleep for TokioSleep {}
247247

248248
impl TokioSleep {
249-
pub fn reset(self: Pin<&mut Self>, deadline: Instant) {
249+
fn reset(self: Pin<&mut Self>, deadline: Instant) {
250250
self.project().inner.as_mut().reset(deadline.into());
251251
}
252252
}

0 commit comments

Comments
 (0)