auto merge of #6629 : steveklabnik/rust/remove_uvio_warnings, r=catamorphism

Mostly of the 'unused imports' kind.

I'm unsure about the 'no unsafe' bit, but that's what it says...
This commit is contained in:
bors 2013-05-20 00:25:40 -07:00
commit ea0640764a
4 changed files with 1 additions and 8 deletions

View File

@ -39,9 +39,7 @@ fn new(size: uint) -> 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

View File

@ -44,9 +44,6 @@
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;

View File

@ -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;

View File

@ -16,7 +16,6 @@
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};