We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76ce1ea commit c4a1f6bCopy full SHA for c4a1f6b
src/libcore/ops.rs
@@ -977,7 +977,7 @@ impl fmt::Debug for RangeFull {
977
}
978
979
/// A (half-open) range which is bounded at both ends.
980
-#[derive(Clone, PartialEq, Eq)]
+#[derive(Copy, Clone, PartialEq, Eq)]
981
#[lang="range"]
982
#[stable(feature = "rust1", since = "1.0.0")]
983
pub struct Range<Idx> {
@@ -995,7 +995,7 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> {
995
996
997
/// A range which is only bounded below.
998
999
#[lang="range_from"]
1000
1001
pub struct RangeFrom<Idx> {
0 commit comments