chiark / gitweb /
make push pub
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 31 Jul 2020 21:45:39 +0000 (22:45 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 31 Jul 2020 21:45:39 +0000 (22:45 +0100)
src/updates.rs

index 1dde1b619798f87ee90ada5c6939881353ce756d..ec08fc7ec9bf95302d76ac4d992f23cd6ea5722e 100644 (file)
@@ -91,7 +91,7 @@ impl Default for PlayerUpdates {
 }
 
 impl PlayerUpdates {
-  fn push<U: Into<Arc<PreparedUpdate>>>(&mut self, update: U) {
+  pub fn push<U: Into<Arc<PreparedUpdate>>>(&mut self, update: U) {
     self.log.push_back(update.into());
     self.cv.notify_all();
   }