Use slices instead of borrowed vectors

This commit is contained in:
philipp authored and David Peter committed 2019-07-17 21:11:44 +02:00
1 parent f3f8c9ca98
commit c0ada7d044
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ pub fn error(message: &str) -> ! {
/// Runs the benchmark for the given commands
fn run(
commands: &Vec<Command<'_>>,
commands: &[Command<'_>],
options: &HyperfineOptions,
) -> io::Result<Vec<BenchmarkResult>> {
let shell_spawning_time =