diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/export.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/export.rs b/src/export.rs index 1d17d46b..ec18c9cf 100644 --- a/src/export.rs +++ b/src/export.rs @@ -242,7 +242,7 @@ impl Priority { /// /// Will overwrite the current Priority #[inline(always)] - pub unsafe fn new(value: u8) -> Self { + pub const unsafe fn new(value: u8) -> Self { Priority { inner: Cell::new(value), } |