Fix the fallout of removing feature(import_shadowing).
This commit is contained in:
@@ -15,21 +15,10 @@
|
||||
#![experimental]
|
||||
#![allow(missing_docs)]
|
||||
|
||||
use clone::Clone;
|
||||
use c_str::ToCStr;
|
||||
use iter::IteratorExt;
|
||||
use prelude::*;
|
||||
use mem;
|
||||
use ops::*;
|
||||
use option::*;
|
||||
use option::Option::{None, Some};
|
||||
use os;
|
||||
use path::{Path,GenericPath};
|
||||
use result::*;
|
||||
use result::Result::{Err, Ok};
|
||||
use slice::{AsSlice,SliceExt};
|
||||
use str;
|
||||
use string::String;
|
||||
use vec::Vec;
|
||||
|
||||
#[allow(missing_copy_implementations)]
|
||||
pub struct DynamicLibrary {
|
||||
@@ -213,13 +202,10 @@ mod test {
|
||||
pub mod dl {
|
||||
pub use self::Rtld::*;
|
||||
|
||||
use c_str::{CString, ToCStr};
|
||||
use prelude::*;
|
||||
use c_str::CString;
|
||||
use libc;
|
||||
use ops::FnOnce;
|
||||
use ptr;
|
||||
use result::*;
|
||||
use result::Result::{Err, Ok};
|
||||
use string::String;
|
||||
|
||||
pub unsafe fn open_external<T: ToCStr>(filename: T) -> *mut u8 {
|
||||
filename.with_c_str(|raw_name| {
|
||||
|
||||
Reference in New Issue
Block a user