mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Use thiserror for to derive Error
This commit is contained in:
1 parent
e6dad51f34
commit
ce7087b107
5 files changed
+43
-64
No files matched your search
+1
-1
@@ -261,7 +261,7 @@ fn build_export_manager(matches: &ArgMatches) -> io::Result<ExportManager> {
|
||||
}
|
||||
|
||||
/// Build the commands to benchmark
|
||||
fn build_commands(matches: &ArgMatches) -> Vec<Command> {
|
||||
fn build_commands(matches: &ArgMatches) -> Result<Vec<Command>> {
|
||||
let command_names = matches.values_of("command-name");
|
||||
let command_strings = matches.values_of("command").unwrap();
|
||||
|
||||
|
||||
Reference in new issue
Block a user