Commit 5502a684 authored by Stefan Lankes's avatar Stefan Lankes
Browse files

minor changes to pass clippy checks

parent cdb69a48
......@@ -329,8 +329,8 @@ pub fn init() {
// Detect CPUs and APICs.
let local_apic_physical_address = detect_from_uhyve()
.or_else(|| detect_from_acpi())
.unwrap_or_else(|| default_apic());
.or_else(|_| detect_from_acpi())
.unwrap_or_else(|_| default_apic());
// Initialize x2APIC or xAPIC, depending on what's available.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment