From 083d6e1bafbb8284e36e9e2bc7042ffe236205e9 Mon Sep 17 00:00:00 2001 From: Philippe Laferriere Date: Wed, 10 Jul 2024 12:57:44 -0400 Subject: [PATCH] comment --- core/src/operations/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/operations/mod.rs b/core/src/operations/mod.rs index 9e0feda599..9b81bedeef 100644 --- a/core/src/operations/mod.rs +++ b/core/src/operations/mod.rs @@ -743,8 +743,9 @@ impl Serializable for Operation { Operation::Push(value) => value.as_int().write_into(target), // Note: we explicitly write out all the operations so that whenever we make a - // modification to the `Operation` enum, we get a compile error here. This - // should help us remember to properly encode/decode each operation variant. + // modification to the `Operation` enum, we get a compile error here. This should help + // us remember to properly encode/decode each operation variant. Remember to also fix + // deserialization! Operation::Noop | Operation::FmpAdd | Operation::FmpUpdate