File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1111//! for testing.
1212//!
1313//! [`MockClock`]: crate::clock::MockClock
14- //!
1514
1615#![ allow( clippy:: module_name_repetitions) ]
1716
Original file line number Diff line number Diff line change 7979//! and use that error type
8080//! 2. Lookups return an `Result<Option<T>, Self::Error>`, because 'not found'
8181//! errors are usually cases that are handled differently
82- //! 3. Operations that need to record the current type use a [`mas_data_model::Clock`]
83- //! parameter. Operations that need to generate new IDs also use a random
84- //! number generator.
82+ //! 3. Operations that need to record the current type use a
83+ //! [`mas_data_model::Clock`] parameter. Operations that need to generate
84+ //! new IDs also use a random number generator.
8585//! 4. All the methods use an `&mut self`. This is ensures only one operation
8686//! is done at a time on a single repository instance.
8787//!
You can’t perform that action at this time.
0 commit comments