We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0924911 commit 04dbcbbCopy full SHA for 04dbcbb
src/task/worker.rs
@@ -75,7 +75,7 @@ thread_local! {
75
static QUEUE: Cell<Option<Worker<task::Runnable>>> = Cell::new(None);
76
}
77
78
-pub fn is_worker() -> bool {
+pub(crate) fn is_worker() -> bool {
79
IS_WORKER.with(|is_worker| is_worker.get())
80
81
0 commit comments