We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7bd10a + 515602b commit fb1e44aCopy full SHA for fb1e44a
benches/netbench/Cargo.toml
@@ -3,6 +3,7 @@
3
name = "rust-tcp-io-perf"
4
version = "0.0.0"
5
authors = ["Lorenzo Martini <lmartini@student.ethz.ch>"]
6
+edition = "2018"
7
readme = "README.md"
8
9
description = "A Rust program to measure bandwidth or latency over a Rust TCP connection"
benches/netbench/src/connection.rs
@@ -1,6 +1,6 @@
1
extern crate core_affinity;
2
-use config::Config;
+use crate::config::Config;
use std::io;
use std::io::ErrorKind::WouldBlock;
use std::io::{Read, Write};
benches/netbench/src/threading.rs
@@ -1,4 +1,4 @@
pub fn setup(config: &Config) {
if config.p_id >= 0 {
0 commit comments