diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-05 14:42:50 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-05 14:42:50 +0200 |
commit | cb855210979971f6f22a0ae187ea0b54d783a08c (patch) | |
tree | f78be5373b27676db425940a93edd7a1efe05f37 /src/servo/dom/rcu.rs | |
parent | 1a713b81bbc370b0d81701e4641063c486cfb7fb (diff) | |
download | servo-cb855210979971f6f22a0ae187ea0b54d783a08c.tar.gz servo-cb855210979971f6f22a0ae187ea0b54d783a08c.zip |
Adapt to rust changes
Diffstat (limited to 'src/servo/dom/rcu.rs')
-rw-r--r-- | src/servo/dom/rcu.rs | 4 |
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; } } |