chiark / gitweb /
a todo list item
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 23 Nov 2020 20:24:29 +0000 (20:24 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 23 Nov 2020 20:24:29 +0000 (20:24 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/global.rs

index ce1ba7943d29d39fef95da627e819c7c0b52cc73..935c458ba53105edd1e1158d77a0dc650ae5a556 100644 (file)
@@ -461,7 +461,8 @@ impl<'ig> InstanceGuard<'ig> {
   /// proves the caller has a log entry.
   #[throws(MgmtError)]
   pub fn player_new(&mut self, gnew: GPlayerState, inew: IPlayerState,
-                    logentry: LogEntry) -> (PlayerId, LogEntry) {
+                    logentry: LogEntry)
+                    -> (PlayerId, /* todo some game update,*/ LogEntry) {
     // saving is fallible, but we can't attempt to save unless
     // we have a thing to serialise with the player in it
     self.check_new_nick(&gnew.nick)?;