Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CleanCut/ultimate_rust2
/ sleep
Function
sleep
example/kitchen/src/main.rs:4–6 ·
view source on GitHub ↗
(seconds: f32)
Source
from the content-addressed store, hash-verified
2
use std::{thread, time::Duration};
3
4
fn sleep(seconds: f32) {
5
thread::sleep(Duration::from_secs_f32(seconds));
6
}
7
8
pub mod dad {
9
use super::{info, sleep};
Callers
4
cafeteria_worker
Function · 0.85
cook_spaghetti
Function · 0.85
cook_sauce_and_set_table
Function · 0.85
sleep_ms
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected