mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 01:00:31 +00:00
Use slices instead of borrowed vectors
This commit is contained in:
1 parent
f3f8c9ca98
commit
c0ada7d044
7 files changed
+11
-11
No files matched your search
+1
-1
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user