rust/hg-core/src/revlog/node.rs
changeset 44512 166349510398
parent 44419 5ac1eecc9c64
child 44998 26114bd6ec60
--- a/rust/hg-core/src/revlog/node.rs	Tue Feb 18 19:11:14 2020 +0100
+++ b/rust/hg-core/src/revlog/node.rs	Mon Jan 13 19:31:33 2020 +0100
@@ -44,6 +44,7 @@
 /// [`nybbles_len`]: #method.nybbles_len
 /// [`ExactLengthRequired`]: struct.NodeError#variant.ExactLengthRequired
 #[derive(Clone, Debug, PartialEq)]
+#[repr(transparent)]
 pub struct Node {
     data: NodeData,
 }