Use thiserror for to derive Error

This commit is contained in:
David Peter authored and David Peter committed 2022-02-06 20:19:50 +01:00
1 parent e6dad51f34
commit ce7087b107
5 files changed
+43 -64

No files matched your search

+1 -1
View File
@@ -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();