Replace word 'covariance' with 'variance' for consistency.

pull/58/head
Hidehito Yabuuchi 7 years ago
parent efe56ad4c6
commit 89f36d58fc

@ -70,7 +70,7 @@ that:
use std::marker; use std::marker;
struct Vec<T> { struct Vec<T> {
data: *const T, // *const for covariance! data: *const T, // *const for variance!
len: usize, len: usize,
cap: usize, cap: usize,
_marker: marker::PhantomData<T>, _marker: marker::PhantomData<T>,

Loading…
Cancel
Save