summaryrefslogtreecommitdiffstats
path: root/src/runtime/notifier.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/notifier.rs')
-rw-r--r--src/runtime/notifier.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/notifier.rs b/src/runtime/notifier.rs
index acc3048..95f1306 100644
--- a/src/runtime/notifier.rs
+++ b/src/runtime/notifier.rs
@@ -26,7 +26,7 @@ impl Notifier {
}
/// Notify the `Runtime` to request that the `Runtime` and all other registered thread pause processing.
- #[allow(clippy::missing_panics_doc)]
+ #[allow(clippy::missing_panics_doc, unused)]
pub(crate) fn request_pause(&self) {
self.sender
.send((String::from(&self.thread_name), Status::RequestPause))
@@ -34,7 +34,7 @@ impl Notifier {
}
/// Notify the `Runtime` to request that the `Runtime` and all other registered thread resume processing.
- #[allow(clippy::missing_panics_doc)]
+ #[allow(clippy::missing_panics_doc, unused)]
pub(crate) fn request_resume(&self) {
self.sender
.send((String::from(&self.thread_name), Status::RequestResume))