diff options
Diffstat (limited to 'src/util/crdt/map.rs')
-rw-r--r-- | src/util/crdt/map.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/crdt/map.rs b/src/util/crdt/map.rs index 7553cd50..ad9a6e55 100644 --- a/src/util/crdt/map.rs +++ b/src/util/crdt/map.rs @@ -33,6 +33,7 @@ where /// This can be used to build a delta-mutator: /// when merged with another map, the value will be added or CRDT-merged if a previous /// value already exists. + #[must_use = "CRDT mutators are meant to be merged into a CRDT and not ignored."] pub fn put_mutator(k: K, v: V) -> Self { Self { vals: vec![(k, v)] } } |