Fix minor typo

This commit is contained in:
Ian Wagner
2020-04-12 16:59:56 +09:00
parent 6c38c20d16
commit 1520be032c

View File

@@ -139,7 +139,7 @@ fn main() {
// length of the array is encoded in the array itself as the second value. // length of the array is encoded in the array itself as the second value.
let vtable = vec![ let vtable = vec![
0, // pointer to `Drop` (which we're not implementing here) 0, // pointer to `Drop` (which we're not implementing here)
6, // lenght of vtable 6, // length of vtable
8, // alignment 8, // alignment
// we need to make sure we add these in the same order as defined in the Trait. // we need to make sure we add these in the same order as defined in the Trait.