From: Ian Jackson Date: Sat, 20 Mar 2021 22:28:04 +0000 (+0000) Subject: clock: Serialise the `current` X-Git-Tag: otter-0.5.0~601 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=b9d02761f4d2ae552d01690cc20658b9e6898ec8;p=otter.git clock: Serialise the `current` Not sure why this wasn't done before. Probably some remnant of early design things. Signed-off-by: Ian Jackson --- diff --git a/src/clock.rs b/src/clock.rs index 787a3de6..6d099e1a 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -31,7 +31,7 @@ struct Clock { // PieceTrait #[derive(Debug,Serialize,Deserialize)] struct State { users: [UState; 2], - #[serde(skip)] current: Option, + current: Option, #[serde(skip)] notify: Option>, #[serde(skip)] running: Option, }