aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/export.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/export.rs b/src/export.rs
index 0d746614..6eae65f2 100644
--- a/src/export.rs
+++ b/src/export.rs
@@ -47,7 +47,9 @@ pub struct Priority {
impl Priority {
#[inline(always)]
pub unsafe fn new(value: u8) -> Self {
- Priority { inner: Cell::new(value)}
+ Priority {
+ inner: Cell::new(value),
+ }
}
// these two methods are used by claim (see below) but can't be used from the RTFM application