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 11
11
//! for testing.
12
12
//!
13
13
//! [`MockClock`]: crate::clock::MockClock
14
- //!
15
14
16
15
#![ allow( clippy:: module_name_repetitions) ]
17
16
Original file line number Diff line number Diff line change 79
79
//! and use that error type
80
80
//! 2. Lookups return an `Result<Option<T>, Self::Error>`, because 'not found'
81
81
//! 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.
85
85
//! 4. All the methods use an `&mut self`. This is ensures only one operation
86
86
//! is done at a time on a single repository instance.
87
87
//!
You can’t perform that action at this time.
0 commit comments