Skip to content

Commit

Permalink
fixup! Fix windows build (hydro-project#584) (hydro-project#587)
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel authored Apr 13, 2023
1 parent 687c47c commit 2426688
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hydro_cli_examples/examples/topolotree/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use hydroflow::util::{deserialize_from_bytes, serialize_to_bytes};
use std::collections::HashMap;
use std::hash::Hash;
use std::hash::Hasher;
use std::time::Duration;
use std::time::Instant;

#[derive(Serialize, Deserialize, Clone, Debug)]
Expand Down Expand Up @@ -52,7 +51,7 @@ async fn main() {
loop {
let x = procinfo::pid::stat_self().unwrap();
println!("memory: {} bytes", x.rss * 1024 * 4);
tokio::time::sleep(Duration::from_secs(1)).await;
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
}
};

Expand Down

0 comments on commit 2426688

Please sign in to comment.