From 18516d539805fd2dc8e3a4b2626548181e1ee230 Mon Sep 17 00:00:00 2001 From: Roman Isaikin Date: Tue, 13 Jul 2021 21:41:54 +0200 Subject: [PATCH] Make Priority::get() public. --- src/export.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/export.rs b/src/export.rs index 91a4a5efba..ba282c22d5 100644 --- a/src/export.rs +++ b/src/export.rs @@ -94,7 +94,7 @@ impl Priority { /// Get the current priority #[inline(always)] - fn get(&self) -> u8 { + pub fn get(&self) -> u8 { self.inner.get() } }