Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
plafer committed Jul 10, 2024
1 parent acc0788 commit 083d6e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/operations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 083d6e1

Please sign in to comment.