We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd70b63 commit 4cf66f0Copy full SHA for 4cf66f0
library/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