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");
|
// panic!("Test Infrastructure missing");
|
||||||
}
|
}
|
||||||
Subcommand::Doc => {
|
Subcommand::Doc => {
|
||||||
let machine_text = options
|
let machine_text = options.arguments.get(0).cloned().unwrap_or_default();
|
||||||
.arguments
|
|
||||||
.get(0)
|
|
||||||
.cloned()
|
|
||||||
.unwrap_or_else(|| String::new());
|
|
||||||
|
|
||||||
match machine(machine_text) {
|
match machine(machine_text) {
|
||||||
MachineType::X86_64 => {
|
MachineType::X86_64 => {
|
||||||
|
|
Loading…
Reference in a new issue