Skip to content

Commit

Permalink
Remove more warnings.
Browse files Browse the repository at this point in the history
Mostly of the 'unused imports' kind.
  • Loading branch information
steveklabnik committed May 20, 2013
1 parent 9f67169 commit dc57d15
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
4 changes: 1 addition & 3 deletions src/libcore/rt/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ pub impl StackSegment {

/// Point to the low end of the allocated stack
fn start(&self) -> *uint {
unsafe {
vec::raw::to_ptr(self.buf) as *uint
}
vec::raw::to_ptr(self.buf) as *uint
}

/// Point one word beyond the high end of the allocated stack
Expand Down
3 changes: 0 additions & 3 deletions src/libcore/rt/uv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ use vec;
use ptr;
use cast;
use str;
use option::*;
use str::raw::from_c_str;
use to_str::ToStr;
use libc::{c_void, c_int, size_t, malloc, free};
use cast::transmute;
use ptr::null;
Expand Down
1 change: 0 additions & 1 deletion src/libcore/rt/uv/uvio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use option::*;
use result::*;
use ops::Drop;
use old_iter::CopyableIter;
use cell::{Cell, empty_cell};
use cast::transmute;
use clone::Clone;
Expand Down
1 change: 0 additions & 1 deletion src/libcore/unstable/lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use libc::{c_char, c_uchar, c_void, size_t, uintptr_t, c_int, STDERR_FILENO};
use managed::raw::BoxRepr;
use str;
use sys;
use cast::transmute;
use rt::{context, OldTaskContext};
use rt::local_services::borrow_local_services;
use option::{Option, Some, None};
Expand Down

0 comments on commit dc57d15

Please sign in to comment.