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/libsyntax/parse/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index d6ccea7331d..0ae43db8315 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -306,7 +306,7 @@ pub fn Parser<'a>(sess: &'a ParseSess, cfg: ast::CrateConfig, rdr: ~Reader:) obsolete_set: HashSet::new(), mod_path_stack: Vec::new(), open_braces: Vec::new(), - nopod: marker::NoPod + nocopy: marker::NoCopy } } @@ -337,7 +337,7 @@ pub struct Parser<'a> { /// Stack of spans of open delimiters. Used for error message. open_braces: Vec , /* do not copy the parser; its state is tied to outside state */ - priv nopod: marker::NoPod + priv nocopy: marker::NoCopy } fn is_plain_ident_or_underscore(t: &token::Token) -> bool { -- cgit 1.4.1-3-g733a5