summaryrefslogtreecommitdiff
path: root/cli/bench/main.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-02-12 21:08:36 +1100
committerGitHub <noreply@github.com>2021-02-12 21:08:36 +1100
commit54e53cc9ea0767dfe8a44f92361f68c03f5f038f (patch)
tree12fa9db568984e97f5885e488857d406580a99b9 /cli/bench/main.rs
parent146fb360c649f87c6898848bd3ee3610cd7ee8a6 (diff)
chore: Update to Rust 1.50.0 (#9479)
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r--cli/bench/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index 352c93010..d2823a02b 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -297,9 +297,9 @@ fn run_throughput(deno_exe: &PathBuf) -> Result<HashMap<String, f64>> {
let mut m = HashMap::<String, f64>::new();
m.insert("100M_tcp".to_string(), throughput::tcp(deno_exe, 100)?);
- m.insert("100M_cat".to_string(), throughput::cat(deno_exe, 100)?);
+ m.insert("100M_cat".to_string(), throughput::cat(deno_exe, 100));
m.insert("10M_tcp".to_string(), throughput::tcp(deno_exe, 10)?);
- m.insert("10M_cat".to_string(), throughput::cat(deno_exe, 10)?);
+ m.insert("10M_cat".to_string(), throughput::cat(deno_exe, 10));
Ok(m)
}