We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7926dc commit 89312b5Copy full SHA for 89312b5
std/src/thread/mod.rs
@@ -890,6 +890,7 @@ pub fn sleep(dur: Duration) {
890
/// A simple game loop that limits the game to 60 frames per second.
891
///
892
/// ```no_run
893
+/// #![feature(thread_sleep_until)]
894
/// # use std::time::{Duration, Instant};
895
/// # use std::thread;
896
/// #
@@ -912,6 +913,7 @@ pub fn sleep(dur: Duration) {
912
913
/// api call takes does not influence when we retry or when we give up
914
915
916
917
918
919
0 commit comments