about summary refs log tree commit diff
path: root/src/libcore/arc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/arc.rs')
-rw-r--r--src/libcore/arc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/arc.rs b/src/libcore/arc.rs
index 6a27c0b7ade..30bed71aa95 100644
--- a/src/libcore/arc.rs
+++ b/src/libcore/arc.rs
@@ -61,7 +61,7 @@ fn get<T: const send>(rc: &arc<T>) -> &T {
         // Cast us back into the correct region
         let r = unsafe::reinterpret_cast(&ptr.data);
         unsafe::forget(ptr);
-        ret r;
+        return r;
     }
 }