Commit 57bb1473 authored by Stefan Lankes's avatar Stefan Lankes Committed by Stefan Lankes
Browse files

remove compiler warnings

parent 455b63fe
......@@ -16,7 +16,7 @@ pub use self::doublylinkedlist::*;
/// `irqsave` guarantees that the call of the closure
/// will be not disturbed by an interrupt
#[inline]
pub fn irqsave<F, R>(mut f: F) -> R
pub fn irqsave<F, R>(f: F) -> R
where
F: FnOnce() -> R,
{
......
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