(version: u32, data: bool)
| 35 | |
| 36 | impl VersionNode { |
| 37 | fn new(version: u32, data: bool) -> Self { |
| 38 | VersionNode { |
| 39 | version, |
| 40 | data, |
| 41 | pointers: vec![None; 10], // Initialize with None values of length 10 |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | fn insert_node(&mut self, target_version: Arc<Mutex<VersionNode>>) { |
| 46 | let target_version_lock = target_version.lock().unwrap(); |
nothing calls this directly
no outgoing calls
no test coverage detected