Show More
@@ -35,12 +35,14 b' pub(super) type IgnorePatternsHash = [u8' | |||
|
35 | 35 | /// `mercurial/dirstateutils/docket.py` |
|
36 | 36 | const TREE_METADATA_SIZE: usize = 44; |
|
37 | 37 | |
|
38 | const NODE_SIZE: usize = 43; | |
|
39 | ||
|
38 | 40 | /// Make sure that size-affecting changes are made knowingly |
|
39 | 41 | #[allow(unused)] |
|
40 | 42 | fn static_assert_size_of() { |
|
41 | 43 | let _ = std::mem::transmute::<TreeMetadata, [u8; TREE_METADATA_SIZE]>; |
|
42 | 44 | let _ = std::mem::transmute::<DocketHeader, [u8; TREE_METADATA_SIZE + 81]>; |
|
43 |
let _ = std::mem::transmute::<Node, [u8; |
|
|
45 | let _ = std::mem::transmute::<Node, [u8; NODE_SIZE]>; | |
|
44 | 46 | } |
|
45 | 47 | |
|
46 | 48 | // Must match `HEADER` in `mercurial/dirstateutils/docket.py` |
General Comments 0
You need to be logged in to leave comments.
Login now