We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 588d37c commit 1986c62Copy full SHA for 1986c62
src/libcore/ops.rs
@@ -974,7 +974,7 @@ impl fmt::Debug for RangeFull {
974
}
975
976
/// A (half-open) range which is bounded at both ends.
977
-#[derive(Clone, PartialEq, Eq)]
+#[derive(Copy, Clone, PartialEq, Eq)]
978
#[lang="range"]
979
#[stable(feature = "rust1", since = "1.0.0")]
980
pub struct Range<Idx> {
@@ -994,7 +994,7 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> {
994
995
996
/// A range which is only bounded below.
997
998
#[lang="range_from"]
999
1000
pub struct RangeFrom<Idx> {
0 commit comments