From c4a1f6b05b1c77364be6d442f45cc443c354049a Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Sun, 1 Feb 2015 22:32:35 +0100 Subject: [PATCH] Revert "remove Copy impls from remaining iterators" This reverts commit c3841b9c9f35f4e7fed9894558cbe1f068a3e01a. --- src/libcore/ops.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/ops.rs b/src/libcore/ops.rs index f656fd4b8b9a8..4b19d29330baa 100644 --- a/src/libcore/ops.rs +++ b/src/libcore/ops.rs @@ -977,7 +977,7 @@ impl fmt::Debug for RangeFull { } /// A (half-open) range which is bounded at both ends. -#[derive(Clone, PartialEq, Eq)] +#[derive(Copy, Clone, PartialEq, Eq)] #[lang="range"] #[stable(feature = "rust1", since = "1.0.0")] pub struct Range { @@ -995,7 +995,7 @@ impl fmt::Debug for Range { } /// A range which is only bounded below. -#[derive(Clone, PartialEq, Eq)] +#[derive(Copy, Clone, PartialEq, Eq)] #[lang="range_from"] #[stable(feature = "rust1", since = "1.0.0")] pub struct RangeFrom {