We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb80fef commit bbc603dCopy full SHA for bbc603d
src/type-layout.md
@@ -553,7 +553,7 @@ enum Enum16 {
553
Variant1,
554
}
555
556
-// The size of the C representation is platform dependant
+// The size of the C representation is platform dependent
557
assert_eq!(std::mem::size_of::<EnumC>(), 8);
558
// One byte for the discriminant and one byte for the value in Enum8::Variant0
559
assert_eq!(std::mem::size_of::<Enum8>(), 2);
0 commit comments