From 89f36d58fce674386a84ee8f9fa1b118d4f4d201 Mon Sep 17 00:00:00 2001 From: Hidehito Yabuuchi Date: Wed, 21 Feb 2018 16:00:19 +0900 Subject: [PATCH] Replace word 'covariance' with 'variance' for consistency. --- src/phantom-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,