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:
d922f8e
)
updates, errors: Reformat IsResponseToClientOp (nfc)
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Jan 2021 00:04:53 +0000
(
00:04
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 30 Jan 2021 00:04:53 +0000
(
00:04
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/updates.rs
patch
|
blob
|
history
diff --git
a/src/updates.rs
b/src/updates.rs
index 6e6e884cc7e116f1d61cb190c01bb0e95acf2be9..a836f50b4d61259106a63966bc5cffd31fe9cab5 100644
(file)
--- a/
src/updates.rs
+++ b/
src/updates.rs
@@
-340,7
+340,11
@@
pub struct PrepareUpdatesBuffer<'r> {
}
/// In PROTOCOL.md terms, None is a Server update
-type IsResponseToClientOp = Option<(WhatResponseToClientOp, ClientId, ClientSequence)>;
+type IsResponseToClientOp = Option<(
+ WhatResponseToClientOp,
+ ClientId,
+ ClientSequence
+)>;
#[derive(Debug, Copy, Clone, Serialize, Deserialize)]
pub enum WhatResponseToClientOp {
/// In PROTOCOL.md terms, a Client update