Skip to content

Commit

Permalink
libextra: Fix even more merge fallout.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcwalton authored and emberian committed Jun 28, 2013
1 parent 3625781 commit f6a27cb
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/libextra/ebml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ pub mod reader {

use serialize;

use core::prelude::*;
use core::cast::transmute;
use core::int;
use core::io;
Expand All @@ -106,6 +105,8 @@ pub mod reader {

#[cfg(target_arch = "x86")]
#[cfg(target_arch = "x86_64")]
use core::option::{None, Option, Some};
use core::ptr::offset;
use core::unstable::intrinsics::bswap32;

// ebml reading
Expand Down
2 changes: 0 additions & 2 deletions src/libextra/num/bigint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,6 @@ impl Integer for BigUint {
while m >= b {
let (d0, d_unit, b_unit) = div_estimate(&m, &b, n);
let mut d0 = d0;
let mut d_unit = d_unit;
let mut b_unit = b_unit;
let mut prod = b * d0;
while prod > m {
// FIXME(#6050): overloaded operators force moves with generic types
Expand Down
3 changes: 0 additions & 3 deletions src/libextra/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -751,9 +751,6 @@ impl BenchHarness {
}
pub mod bench {
use core::prelude::*;
use core::vec;
use test::{BenchHarness, BenchSamples};
pub fn benchmark(f: &fn(&mut BenchHarness)) -> BenchSamples {
Expand Down
1 change: 0 additions & 1 deletion src/libextra/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ pub fn recv_timeout<T:Copy + Send>(iotask: &IoTask,
-> Option<T> {
let (timeout_po, timeout_ch) = stream::<()>();
let mut timeout_po = timeout_po;
let mut timeout_ch = timeout_ch;
delayed_send(iotask, msecs, &timeout_ch, ());

// XXX: Workaround due to ports and channels not being &mut. They should
Expand Down
1 change: 0 additions & 1 deletion src/libstd/task/spawn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,6 @@ fn spawn_raw_oldsched(mut opts: TaskOpts, f: ~fn()) {
let result: ~fn() = || {
// Agh. Get move-mode items into the closure. FIXME (#2829)
let (notify_chan, child_arc, ancestors) = child_data.take();
let mut child_arc = child_arc;
let mut ancestors = ancestors;
// Child task runs this code.

Expand Down

0 comments on commit f6a27cb

Please sign in to comment.