Fix RefCell serialize impl to work with no-std

This commit is contained in:
David Tolnay 2018-06-01 12:47:10 -07:00
parent c3b9ee314b
commit ca53daf697
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -8,10 +8,7 @@
use lib::*; use lib::*;
use ser::{Serialize, SerializeTuple, Serializer}; use ser::{Error, Serialize, SerializeTuple, Serializer};
#[cfg(feature = "std")]
use ser::Error;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////