aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2019-02-16 00:26:07 +0100
committerGravatar Jorge Aparicio <jorge@japaric.io> 2019-02-16 00:26:07 +0100
commit7ce052be372ad5e3671e4f470ac552db075162fb (patch)
treea65375257cd5b8e7e52d974216fadaa7bdd40ba2 /src
parent2b8e743f35a69b9b09a4de4c346eb9015c6b45ea (diff)
downloadrtic-7ce052be372ad5e3671e4f470ac552db075162fb.tar.gz
rtic-7ce052be372ad5e3671e4f470ac552db075162fb.tar.zst
rtic-7ce052be372ad5e3671e4f470ac552db075162fb.zip
cargo fmt
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