From fcc3c69a49f084826cdccf24e9f5c79514d3ef01 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 9 Mar 2017 12:04:02 -0800 Subject: [PATCH] Range impl is defined when building with std --- serde/src/ser/impls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/ser/impls.rs b/serde/src/ser/impls.rs index 3000a015..35f91a63 100644 --- a/serde/src/ser/impls.rs +++ b/serde/src/ser/impls.rs @@ -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;