diff options
| author | bors <bors@rust-lang.org> | 2013-12-04 01:36:29 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-04 01:36:29 -0800 |
| commit | 9635c763ba5edc8c8ea2868b895548b52f640e5a (patch) | |
| tree | 95752f46f0ef6d8a85c6f9207a863eb5f4d362a6 /src/libstd/rt | |
| parent | 63c9522c27647cd5f547a0622ce24026e230de33 (diff) | |
| parent | a243360401790476deea3d502f644783ed8d7563 (diff) | |
| download | rust-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.rs | 3 |
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(); }) |
