about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2014-02-07 16:36:59 -0800
committerKevin Ballard <kevin@sb.org>2014-02-07 22:31:52 -0800
commit086c0dd33febb752b036fba62dcfb8aa22a51642 (patch)
tree2543a402c3d2ce04b4d7cd7e8c60da6c5fb40371 /src/libstd/rt
parent122c94d2f3909a06a5dd172b423b9b56a2f17039 (diff)
downloadrust-086c0dd33febb752b036fba62dcfb8aa22a51642.tar.gz
rust-086c0dd33febb752b036fba62dcfb8aa22a51642.zip
Delete send_str, rewrite clients on top of MaybeOwned<'static>
Declare a `type SendStr = MaybeOwned<'static>` to ease readibility of
types that needed the old SendStr behavior.

Implement all the traits for MaybeOwned that SendStr used to implement.
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs
index fbe82531f69..a7648dd2d19 100644
--- a/src/libstd/rt/task.rs
+++ b/src/libstd/rt/task.rs
@@ -30,7 +30,7 @@ use rt::local::Local;
 use rt::local_heap::LocalHeap;
 use rt::rtio::LocalIo;
 use rt::unwind::Unwinder;
-use send_str::SendStr;
+use str::SendStr;
 use sync::arc::UnsafeArc;
 use sync::atomics::{AtomicUint, SeqCst};
 use task::{TaskResult, TaskOpts};