diff --git a/src/buffer/tools.rs b/src/buffer/tools.rs index 17249f0..0e40359 100644 --- a/src/buffer/tools.rs +++ b/src/buffer/tools.rs @@ -74,12 +74,6 @@ impl InternallyMutable { pub fn set(&self, state: T) -> T { self.setter.send_replace(state) } - - pub async fn wait(&self) { - let mut new = self.getter.clone(); - new.changed().await; // first time unlocks immediately - new.changed().await; - } } impl InternallyMutable {