diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-22 09:57:02 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-04 12:47:28 +0100 |
commit | c7d5c732442c5802058b46205d450d4620772b7b (patch) | |
tree | 8da97b3464d308b0ad4130820c712dd5c6ecd786 /src/util/crdt/mod.rs | |
parent | b76d0580a03c38d901a2b3d19e7c6ede6b0d09a7 (diff) | |
download | garage-c7d5c732442c5802058b46205d450d4620772b7b.tar.gz garage-c7d5c732442c5802058b46205d450d4620772b7b.zip |
Add must_use to some CRDT functions
Diffstat (limited to 'src/util/crdt/mod.rs')
-rw-r--r-- | src/util/crdt/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crdt/mod.rs b/src/util/crdt/mod.rs index 6ba575ed..64f0984e 100644 --- a/src/util/crdt/mod.rs +++ b/src/util/crdt/mod.rs @@ -7,7 +7,7 @@ //! counter. Alice does +1 on her copy, she reads 1. Bob does +3 on his copy, he reads 3. Now, //! it is easy to merge their counters, order does not count: we always get 4. //! -//! Learn more about CRDT [on Wikipedia](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type) +//! Learn more about CRDTs [on Wikipedia](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type) mod bool; #[allow(clippy::module_inception)] |