about summary refs log tree commit diff
path: root/src/libcore/priv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/priv.rs')
-rw-r--r--src/libcore/priv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/priv.rs b/src/libcore/priv.rs
index 9330d376cad..046621897f8 100644
--- a/src/libcore/priv.rs
+++ b/src/libcore/priv.rs
@@ -27,7 +27,7 @@ type GlobalPtr = *libc::uintptr_t;
  * or, if no channel exists creates and installs a new channel and sets up a
  * new task to receive from it.
  */
-unsafe fn chan_from_global_ptr<T: send>(
+unsafe fn chan_from_global_ptr<T: Send>(
     global: GlobalPtr,
     task_fn: fn() -> task::TaskBuilder,
     +f: fn~(comm::Port<T>)