aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util/range.rs
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2013-08-09 13:41:10 -0700
committerKeegan McAllister <kmcallister@mozilla.com>2013-08-15 13:55:40 -0700
commitffe60ea02704c0bd4545a194bff3f2feafd0133c (patch)
tree97f40c907aae08235e4bc856681cd1eb6df5a274 /src/components/util/range.rs
parent907d9f23cf8ab5be112376199c3c57ba9e4a3035 (diff)
downloadservo-ffe60ea02704c0bd4545a194bff3f2feafd0133c.tar.gz
servo-ffe60ea02704c0bd4545a194bff3f2feafd0133c.zip
Trait changes, and eliminate 'copy'
Diffstat (limited to 'src/components/util/range.rs')
-rw-r--r--src/components/util/range.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/util/range.rs b/src/components/util/range.rs
index 72719a97f8d..5742019d2af 100644
--- a/src/components/util/range.rs
+++ b/src/components/util/range.rs
@@ -15,6 +15,7 @@ enum RangeRelation {
EntirelyAfter
}
+#[deriving(Clone)]
pub struct Range {
priv off: uint,
priv len: uint