Range impl is defined when building with std

This commit is contained in:
David Tolnay 2017-03-09 12:04:02 -08:00
parent 350c2e835b
commit fcc3c69a49
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -17,7 +17,7 @@ use core::hash::{Hash, BuildHasher};
use core::iter;
#[cfg(feature = "std")]
use std::net;
#[cfg(feature = "unstable")]
#[cfg(any(feature = "std", feature = "unstable"))]
use core::ops;
#[cfg(feature = "std")]
use std::path;