aboutsummaryrefslogtreecommitdiffstats
path: root/src/servo/dom/rcu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/servo/dom/rcu.rs')
-rw-r--r--src/servo/dom/rcu.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/servo/dom/rcu.rs b/src/servo/dom/rcu.rs
index 84609a1d8b4..0a11127f4d7 100644
--- a/src/servo/dom/rcu.rs
+++ b/src/servo/dom/rcu.rs
@@ -138,7 +138,7 @@ impl ScopePrivate<T: copy send,A> for Scope<T,A> {
// take glue be tolerant of this.
*n = unsafe{*v};
- ret unsafe::reinterpret_cast(n);
+ return unsafe::reinterpret_cast(n);
}
}
@@ -221,7 +221,7 @@ impl WriterMethods<T:copy send,A> for Scope<T,A> {
(*d).next_dirty = null_handle();
let h = _Handle(d);
push(self.d.free_list, h);
- ret h;
+ return h;
}
}