Merge pull request #58 from ordovicia/variance

Replace word 'covariance' with 'variance' for consistency.
pull/4/merge
Alexis Beingessner 7 years ago committed by GitHub
commit 557a2aa4b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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