diff --git a/components/salsa-2022/src/input.rs b/components/salsa-2022/src/input.rs index 7136dc2b..a2915c12 100644 --- a/components/salsa-2022/src/input.rs +++ b/components/salsa-2022/src/input.rs @@ -58,7 +58,7 @@ where self.counter.store(1, Ordering::Relaxed); Id::from_id(crate::Id::from_u32(0)) } - + pub fn get_singleton_input(&self, _runtime: &Runtime) -> Option { (self.counter.load(Ordering::Relaxed) > 0).then(|| Id::from_id(crate::Id::from_u32(0))) }