about summary refs log tree commit diff
path: root/src/libextra/rc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libextra/rc.rs')
-rw-r--r--src/libextra/rc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libextra/rc.rs b/src/libextra/rc.rs
index 02f824b9113..a1a14c31b28 100644
--- a/src/libextra/rc.rs
+++ b/src/libextra/rc.rs
@@ -19,6 +19,8 @@ cycle cannot be created with `Rc<T>` because there is no way to modify it after
 
 */
 
+use core::prelude::*;
+
 use core::libc::{c_void, size_t, malloc, free};
 use core::unstable::intrinsics;
 use core::util;