diff options
Diffstat (limited to 'cli/bench/main.rs')
-rw-r--r-- | cli/bench/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/bench/main.rs b/cli/bench/main.rs index b2ae59d4f..e8d4b298d 100644 --- a/cli/bench/main.rs +++ b/cli/bench/main.rs @@ -11,12 +11,12 @@ use std::{ mod http; mod throughput; -fn read_json(filename: &str) -> Result<serde_json::Value> { +fn read_json(filename: &str) -> Result<Value> { let f = fs::File::open(filename)?; Ok(serde_json::from_reader(f)?) } -fn write_json(filename: &str, value: &serde_json::Value) -> Result<()> { +fn write_json(filename: &str, value: &Value) -> Result<()> { let f = fs::File::create(filename)?; serde_json::to_writer(f, value)?; Ok(()) |