Skip to content

Commit a75ca69

Browse files
committed
move Clock/MockClock/SystemClock/BoxClock/BoxRng to mas-data-model : format
1 parent d65b70d commit a75ca69

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/data-model/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! for testing.
1212
//!
1313
//! [`MockClock`]: crate::clock::MockClock
14-
//!
1514
1615
#![allow(clippy::module_name_repetitions)]
1716

crates/storage/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@
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
//!

0 commit comments

Comments
 (0)