Commit 5a277fca authored by Stefan Lankes's avatar Stefan Lankes
Browse files

remove some compiler warnings

parent dd77c23d
......@@ -7,7 +7,7 @@ pub mod virtqueue;
use kvm_ioctls::Kvm;
lazy_static! {
static ref KVM: Kvm = { Kvm::new().unwrap() };
static ref KVM: Kvm = Kvm::new().unwrap();
}
trait MemoryRegion {
......
......@@ -67,7 +67,7 @@ use std::thread;
use vm::*;
lazy_static! {
static ref MAC_ADDRESS: Mutex<Option<String>> = { Mutex::new(None) };
static ref MAC_ADDRESS: Mutex<Option<String>> = Mutex::new(None);
}
fn main() {
......
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