Compare commits

..

No commits in common. "1b2fd45c89687da7ea39b486c99db12c446e1c6a" and "7c2c03aa4093c7ae110ef8b0f301c8144874f883" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View File

@ -19,7 +19,7 @@
doCheck = true; doCheck = true;
}; };
devShell = with pkgs; mkShell { devShell = with pkgs; mkShell {
nativeBuildInputs = with pkgs; [rustc cargo rustfmt pre-commit clippy]; nativeBuildInputs = with pkgs; [rustc cargo rustfmt pre-commit];
}; };
}); });
} }

View File

@ -97,10 +97,6 @@ async fn heavy_async() {
for i in 0..100 { for i in 0..100 {
let client = client.clone(); let client = client.clone();
tasks.push(tokio::spawn(async move { tasks.push(tokio::spawn(async move {
tokio::time::sleep(tokio::time::Duration::from_millis(
rand::random::<u64>() % 100,
))
.await;
let result = client.addition(i, i).await.unwrap(); let result = client.addition(i, i).await.unwrap();
assert_eq!(result, i + i); assert_eq!(result, i + i);
})); }));