1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-17 00:07:35 +02:00

fix(cli): remove unnecessary borrows (#829)

* Update dependencies

* Format better and remove unnecessary borrows
This commit is contained in:
Ben Armstead
2021-08-24 12:06:30 +00:00
committed by GitHub
parent ec527824b4
commit 1cd9328a58
4 changed files with 68 additions and 66 deletions

View File

@ -203,7 +203,7 @@ fn main() {
Subcommands::Run(subargs) => {
let exercise = find_exercise(&subargs.name, &exercises);
run(&exercise, verbose).unwrap_or_else(|_| std::process::exit(1));
run(exercise, verbose).unwrap_or_else(|_| std::process::exit(1));
}
Subcommands::Hint(subargs) => {