File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ impl WriteType {
215
215
/// Memory Cell vector clock metadata
216
216
/// for data-race detection.
217
217
#[ derive( Clone , PartialEq , Eq , Debug ) ]
218
- pub struct MemoryCellClocks {
218
+ struct MemoryCellClocks {
219
219
/// The vector-clock timestamp of the last write
220
220
/// corresponding to the writing threads timestamp.
221
221
write : VTimestamp ,
@@ -255,7 +255,7 @@ impl MemoryCellClocks {
255
255
256
256
/// Load the internal atomic memory cells if they exist.
257
257
#[ inline]
258
- pub fn atomic ( & self ) -> Option < & AtomicMemoryCellClocks > {
258
+ fn atomic ( & self ) -> Option < & AtomicMemoryCellClocks > {
259
259
match & self . atomic_ops {
260
260
Some ( op) => Some ( & * op) ,
261
261
None => None ,
@@ -1206,7 +1206,7 @@ pub struct GlobalState {
1206
1206
/// Any data-races must be recorded after this
1207
1207
/// so concurrent execution can ignore recording
1208
1208
/// any data-races.
1209
- pub multi_threaded : Cell < bool > ,
1209
+ multi_threaded : Cell < bool > ,
1210
1210
1211
1211
/// Mapping of a vector index to a known set of thread
1212
1212
/// clocks, this is not directly mapping from a thread id
You can’t perform that action at this time.
0 commit comments