Skip to content

Commit

Permalink
fix(imports): Update TypeID import location to "any"
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Whitney committed Jan 21, 2015
1 parent b512e23 commit dd2534a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
//! why we're using Rust in the first place. To set or get any header, an object
//! must implement the `Header` trait from this module. Several common headers
//! are already provided, such as `Host`, `ContentType`, `UserAgent`, and others.
use std::any::Any;
use std::any::{Any, TypeId};
use std::borrow::Cow::{Borrowed, Owned};
use std::fmt;
use std::intrinsics::TypeId;
use std::raw::TraitObject;
use std::str::from_utf8;
use std::string::CowString;
Expand Down
3 changes: 1 addition & 2 deletions src/net.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! A collection of traits abstracting over Listeners and Streams.
use std::any::Any;
use std::any::{Any, TypeId};
use std::fmt;
use std::intrinsics::TypeId;
use std::io::{IoResult, IoError, ConnectionAborted, InvalidInput, OtherIoError,
Stream, Listener, Acceptor};
use std::io::net::ip::{SocketAddr, ToSocketAddr, Port};
Expand Down

0 comments on commit dd2534a

Please sign in to comment.