From 98183e132a28b46af7bf72edd218549218d00776 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 23 Apr 2015 10:23:40 -0700 Subject: [PATCH] Remove prelude imports They cause conflicts with IntoIterator imports, and by removing the prelude import instead of IntoIterator this enables continuing to work with 1.0.0-beta --- phf/src/map.rs | 1 - phf/src/ordered_map.rs | 1 - phf/src/ordered_set.rs | 1 - phf/src/set.rs | 1 - 4 files changed, 4 deletions(-) diff --git a/phf/src/map.rs b/phf/src/map.rs index 44555f8c..8f1d6c61 100644 --- a/phf/src/map.rs +++ b/phf/src/map.rs @@ -1,6 +1,5 @@ //! An immutable map constructed at compile time. use debug_builders::DebugMap; -use std::prelude::v1::*; use std::borrow::Borrow; use std::ops::Index; use std::slice; diff --git a/phf/src/ordered_map.rs b/phf/src/ordered_map.rs index 9600ff04..f8e66c3b 100644 --- a/phf/src/ordered_map.rs +++ b/phf/src/ordered_map.rs @@ -1,6 +1,5 @@ //! An order-preserving immutable map constructed at compile time. use debug_builders::DebugMap; -use std::prelude::v1::*; use std::borrow::Borrow; use std::iter::IntoIterator; use std::ops::Index; diff --git a/phf/src/ordered_set.rs b/phf/src/ordered_set.rs index 4b4f4d8e..4240b121 100644 --- a/phf/src/ordered_set.rs +++ b/phf/src/ordered_set.rs @@ -1,6 +1,5 @@ //! An order-preserving immutable set constructed at compile time. use debug_builders::DebugSet; -use std::prelude::v1::*; use std::borrow::Borrow; use std::iter::IntoIterator; use std::fmt; diff --git a/phf/src/set.rs b/phf/src/set.rs index 6612b554..58d584da 100644 --- a/phf/src/set.rs +++ b/phf/src/set.rs @@ -1,6 +1,5 @@ //! An immutable set constructed at compile time. use debug_builders::DebugSet; -use std::prelude::v1::*; use std::borrow::Borrow; use std::iter::IntoIterator; use std::fmt;