Restore implicit prelude use

This commit is contained in:
Steven Fackler 2015-03-22 11:11:22 -07:00
parent 5e75155b7e
commit e4b0143de9
12 changed files with 0 additions and 72 deletions

View File

@ -1,10 +1,5 @@
pub use ugh_privacy::DbError;
use std::option::Option::{self, Some, None};
use std::result::Result::Ok;
use std::clone::Clone;
use std::string::String;
use byteorder;
use openssl::ssl::error::SslError;
use phf;

View File

@ -1,8 +1,3 @@
use std::option::Option::None;
use std::result::Result::{self, Ok, Err};
#[cfg(feature = "unix_socket")]
use std::clone::Clone;
use openssl::ssl::{SslStream, MaybeSslStream};
use std::io;
use std::io::prelude::*;

View File

@ -45,7 +45,6 @@
#![doc(html_root_url="https://sfackler.github.io/rust-postgres/doc")]
#![feature(unsafe_destructor, io, core, debug_builders, str_char)]
#![warn(missing_docs)]
#![no_implicit_prelude]
extern crate byteorder;
#[macro_use]
@ -56,17 +55,6 @@ extern crate "rustc-serialize" as serialize;
#[cfg(feature = "unix_socket")]
extern crate unix_socket;
use std::option::Option::{self, Some, None};
use std::result::Result::{Ok, Err};
use std::boxed::Box;
use std::vec::Vec;
use std::clone::Clone;
use std::string::{String, ToString};
use std::ops::Drop;
use std::iter::{Iterator, DoubleEndedIterator, ExactSizeIterator, IteratorExt};
use std::prelude::v1::drop;
use std::marker::Send;
use openssl::crypto::hash::{self, Hasher};
use openssl::ssl::{SslContext, MaybeSslStream};
use serialize::hex::ToHex;

View File

@ -1,8 +1,3 @@
use std::result::Result::{Ok, Err};
use std::option::Option::{self, None, Some};
use std::vec::Vec;
use std::string::String;
use std::io;
use std::io::prelude::*;
use std::mem;

View File

@ -1,7 +1,3 @@
use std::marker::Sized;
use std::result::Result::{Ok, Err};
use std::clone::Clone;
use serialize::json;
use std::io::prelude::*;
use byteorder::{ReadBytesExt, WriteBytesExt};

View File

@ -1,15 +1,6 @@
//! Traits dealing with Postgres data types
pub use self::slice::Slice;
use std::option::Option::{self, Some, None};
use std::result::Result::{Ok, Err};
use std::boxed::Box;
use std::vec::Vec;
use std::clone::Clone;
use std::string::String;
use std::iter::ExactSizeIterator;
use std::marker::Sized;
use std::collections::HashMap;
use std::fmt;
use std::io::prelude::*;

View File

@ -1,7 +1,3 @@
use std::result::Result::{Ok, Err};
use std::marker::Sized;
use std::clone::Clone;
use std::io::prelude::*;
use byteorder::{WriteBytesExt, BigEndian};

View File

@ -1,9 +1,5 @@
extern crate time;
use std::result::Result::{Ok, Err};
use std::marker::Sized;
use std::clone::Clone;
use byteorder::{ReadBytesExt, WriteBytesExt, BigEndian};
use self::time::Timespec;
use std::io::prelude::*;

View File

@ -1,10 +1,5 @@
extern crate uuid;
use std::result::Result::{Ok, Err};
use std::marker::Sized;
use std::option::Option::{Some, None};
use std::clone::Clone;
use std::io::prelude::*;
use self::uuid::Uuid;

View File

@ -1,9 +1,3 @@
use std::option::Option::{self, Some, None};
use std::result::Result::{Ok, Err};
use std::vec::Vec;
use std::string::String;
use std::iter::IteratorExt;
use std::collections::HashMap;
use std::error;
use std::fmt;

View File

@ -7,13 +7,6 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::option::Option::{self, Some, None};
use std::result::Result::{self, Ok, Err};
use std::vec::Vec;
use std::string::{String, ToString};
use std::iter::{Iterator, IteratorExt, ExactSizeIterator};
use std::str::Str;
use std::io::prelude::*;
use std::str::FromStr;
use std::num;

View File

@ -1,9 +1,3 @@
use std::result::Result::{Ok, Err};
use std::iter::Iterator;
use std::string::String;
use std::iter::IteratorExt;
use std::option::Option::None;
use std::io;
use std::io::prelude::*;