forked from AbleOS/ableos
fix warning
This commit is contained in:
parent
77189e9e3c
commit
8e09af7f15
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue