Remove some unused "use"s

This commit is contained in:
Sebastian Dröge 2017-07-11 00:36:38 +03:00
parent 4c5aa49fa2
commit 71c0885575
4 changed files with 4 additions and 10 deletions

View file

@ -6,16 +6,13 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::ffi::CString;
use std::ffi::CStr;
use std::fmt;
use miniobject::*;
use structure::*;
use glib;
use glib_ffi;
use ffi;
use glib::translate::{from_glib, from_glib_none, from_glib_full, mut_override, ToGlibPtr, ToGlib};
use glib::translate::{from_glib, from_glib_none, from_glib_full, ToGlibPtr};
#[repr(C)]
pub struct CapsRef(ffi::GstCaps);

View file

@ -17,7 +17,6 @@ use std::mem;
use std::ffi::CStr;
use glib;
use glib_ffi;
use glib::translate::{from_glib, from_glib_none, from_glib_full, mut_override, ToGlibPtr, ToGlib};
#[repr(C)]

View file

@ -11,7 +11,6 @@ use std::mem;
use std::marker::PhantomData;
use ffi;
use glib;
use glib::translate::{from_glib, Stash, StashMut, ToGlibPtr, ToGlibPtrMut, FromGlibPtrNone,
FromGlibPtrFull, FromGlibPtrBorrow};

View file

@ -9,17 +9,16 @@
use std::fmt;
use std::ptr;
use std::mem;
use std::ffi::{CStr, CString};
use std::ffi::CStr;
use std::ops::{Deref, DerefMut};
use std::borrow::{Borrow, ToOwned, BorrowMut};
use std::marker::PhantomData;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, Stash, StashMut, ToGlibPtr,
ToGlibPtrMut, FromGlibPtrNone, FromGlibPtrBorrow, FromGlibPtrFull};
use glib::translate::{from_glib, from_glib_full, Stash, StashMut, ToGlibPtr,
ToGlibPtrMut, FromGlibPtrNone, FromGlibPtrFull};
use glib::value::{Value, ToValue, FromValueOptional};
use ffi;
use glib_ffi;
pub struct Structure(*mut StructureRef, PhantomData<StructureRef>);