fix warning

This commit is contained in:
Elfein Landers 2022-08-06 22:24:11 -07:00
parent 77189e9e3c
commit 8e09af7f15

View file

@ -58,11 +58,7 @@ fn main() {
// panic!("Test Infrastructure missing");
}
Subcommand::Doc => {
let machine_text = options
.arguments
.get(0)
.cloned()
.unwrap_or_else(|| String::new());
let machine_text = options.arguments.get(0).cloned().unwrap_or_default();
match machine(machine_text) {
MachineType::X86_64 => {