aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util/range.rs
diff options
context:
space:
mode:
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