Make Priority::get() public.

This commit is contained in:
Roman Isaikin 2021-07-13 21:41:54 +02:00
parent c67657371b
commit 18516d5398

View file

@ -94,7 +94,7 @@ impl Priority {
/// Get the current priority /// Get the current priority
#[inline(always)] #[inline(always)]
fn get(&self) -> u8 { pub fn get(&self) -> u8 {
self.inner.get() self.inner.get()
} }
} }