diff --git a/src/phantom-data.md b/src/phantom-data.md index 32539c2..031e0bd 100644 --- a/src/phantom-data.md +++ b/src/phantom-data.md @@ -70,7 +70,7 @@ that: use std::marker; struct Vec { - data: *const T, // *const for covariance! + data: *const T, // *const for variance! len: usize, cap: usize, _marker: marker::PhantomData,