@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user