From 4bb42625693957a3942450b02cff093c1b203649 Mon Sep 17 00:00:00 2001 From: OLUWAMUYIWA Date: Fri, 16 Sep 2022 15:02:15 +0100 Subject: [PATCH] cargo fmt --- components/salsa-2022/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) }