fix(imports): Update TypeID import location to "any"
This commit is contained in:
		| @@ -4,10 +4,9 @@ | |||||||
| //! why we're using Rust in the first place. To set or get any header, an object | //! 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 | //! must implement the `Header` trait from this module. Several common headers | ||||||
| //! are already provided, such as `Host`, `ContentType`, `UserAgent`, and others. | //! 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::borrow::Cow::{Borrowed, Owned}; | ||||||
| use std::fmt; | use std::fmt; | ||||||
| use std::intrinsics::TypeId; |  | ||||||
| use std::raw::TraitObject; | use std::raw::TraitObject; | ||||||
| use std::str::from_utf8; | use std::str::from_utf8; | ||||||
| use std::string::CowString; | use std::string::CowString; | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| //! A collection of traits abstracting over Listeners and Streams. | //! A collection of traits abstracting over Listeners and Streams. | ||||||
| use std::any::Any; | use std::any::{Any, TypeId}; | ||||||
| use std::fmt; | use std::fmt; | ||||||
| use std::intrinsics::TypeId; |  | ||||||
| use std::io::{IoResult, IoError, ConnectionAborted, InvalidInput, OtherIoError, | use std::io::{IoResult, IoError, ConnectionAborted, InvalidInput, OtherIoError, | ||||||
|               Stream, Listener, Acceptor}; |               Stream, Listener, Acceptor}; | ||||||
| use std::io::net::ip::{SocketAddr, ToSocketAddr, Port}; | use std::io::net::ip::{SocketAddr, ToSocketAddr, Port}; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user