From 81ec1f3c186cd64450d8141aab467f0a1f3a7ebd Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Thu, 27 Mar 2014 00:01:11 +0100 Subject: Rename Pod into Copy Summary: So far, we've used the term POD "Plain Old Data" to refer to types that can be safely copied. However, this term is not consistent with the other built-in bounds that use verbs instead. This patch renames the Pod kind into Copy. RFC: 0003-opt-in-builtin-traits Test Plan: make check Reviewers: cmr Differential Revision: http://phabricator.octayn.net/D3 --- src/libstd/slice.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libstd/slice.rs') diff --git a/src/libstd/slice.rs b/src/libstd/slice.rs index 8788a584f30..8602c653523 100644 --- a/src/libstd/slice.rs +++ b/src/libstd/slice.rs @@ -2304,12 +2304,12 @@ impl<'a,T> MutableVector<'a, T> for &'a mut [T] { MutItems{ptr: p, end: (p as uint + self.len()) as *mut T, marker: marker::ContravariantLifetime::<'a>, - marker2: marker::NoPod} + marker2: marker::NoCopy} } else { MutItems{ptr: p, end: p.offset(self.len() as int), marker: marker::ContravariantLifetime::<'a>, - marker2: marker::NoPod} + marker2: marker::NoCopy} } } } @@ -2670,7 +2670,7 @@ pub struct MutItems<'a, T> { priv ptr: *mut T, priv end: *mut T, priv marker: marker::ContravariantLifetime<'a>, - priv marker2: marker::NoPod + priv marker2: marker::NoCopy } macro_rules! iterator { -- cgit 1.4.1-3-g733a5