diff --git a/examples/basic.rs b/examples/basic.rs index 0ef4f92..1632d75 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -18,7 +18,7 @@ fn main() { let encoded: Vec = serialize(&world, Infinite).unwrap(); - // 8 bytes for the length of the vector, 4 bytes per float. + // 8 bytes for the length of the vector (usize), 4 bytes per float. assert_eq!(encoded.len(), 8 + 4 * 4); let decoded: World = deserialize(&encoded[..]).unwrap();