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:
commit
ea0640764a
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user