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/num/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/num') diff --git a/src/libstd/num/mod.rs b/src/libstd/num/mod.rs index 202e26e2c93..d09cf28357b 100644 --- a/src/libstd/num/mod.rs +++ b/src/libstd/num/mod.rs @@ -17,7 +17,7 @@ use clone::Clone; use cmp::{Eq, Ord}; -use kinds::Pod; +use kinds::Copy; use mem::size_of; use ops::{Add, Sub, Mul, Div, Rem, Neg}; use ops::{Not, BitAnd, BitOr, BitXor, Shl, Shr}; @@ -276,7 +276,7 @@ pub trait Bitwise: Bounded /// Specifies the available operations common to all of Rust's core numeric primitives. /// These may not always make sense from a purely mathematical point of view, but /// may be useful for systems programming. -pub trait Primitive: Pod +pub trait Primitive: Copy + Clone + Num + NumCast -- cgit 1.4.1-3-g733a5