chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e1452d
)
make push pub
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 31 Jul 2020 21:45:39 +0000
(22:45 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 31 Jul 2020 21:45:39 +0000
(22:45 +0100)
src/updates.rs
patch
|
blob
|
history
diff --git
a/src/updates.rs
b/src/updates.rs
index 1dde1b619798f87ee90ada5c6939881353ce756d..ec08fc7ec9bf95302d76ac4d992f23cd6ea5722e 100644
(file)
--- a/
src/updates.rs
+++ b/
src/updates.rs
@@
-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();
}