about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-04 01:36:29 -0800
committerbors <bors@rust-lang.org>2013-12-04 01:36:29 -0800
commit9635c763ba5edc8c8ea2868b895548b52f640e5a (patch)
tree95752f46f0ef6d8a85c6f9207a863eb5f4d362a6 /src/libstd/rt
parent63c9522c27647cd5f547a0622ce24026e230de33 (diff)
parenta243360401790476deea3d502f644783ed8d7563 (diff)
downloadrust-9635c763ba5edc8c8ea2868b895548b52f640e5a.tar.gz
rust-9635c763ba5edc8c8ea2868b895548b52f640e5a.zip
auto merge of #10783 : sfackler/rust/drop, r=alexcrichton
It's a more fitting name for the most common use case of this function.
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/sched.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/rt/sched.rs b/src/libstd/rt/sched.rs
index a231bea5e27..8c46a8eff39 100644
--- a/src/libstd/rt/sched.rs
+++ b/src/libstd/rt/sched.rs
@@ -1173,7 +1173,6 @@ mod test {
         use rt::sleeper_list::SleeperList;
         use rt::stack::StackPool;
         use rt::sched::{Shutdown, TaskFromFriend};
-        use util;
 
         do run_in_bare_thread {
             stress_factor().times(|| {
@@ -1205,7 +1204,7 @@ mod test {
                 handle.send(TaskFromFriend(task));
 
                 handle.send(Shutdown);
-                util::ignore(handle);
+                drop(handle);
 
                 thread.join();
             })