Commit d158a9b3 authored by Hero Bird's avatar Hero Bird
Browse files

[examples/Subpeep] Fix compile error with Subpeep::default impl

parent 724eac07
......@@ -70,7 +70,7 @@ impl Default for Subpeep {
fn default() -> Self {
unsafe {
Subpeep::new_using_alloc(
&mut* utils::STORAGE_ALLOC.lock().unwrap()
&mut* utils::STORAGE_ALLOC.lock()
)
}
}
......
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