diff options
Diffstat (limited to 'src/ser.rs')
-rw-r--r-- | src/ser.rs | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -10,6 +10,8 @@ use std::fmt::Display; use std::borrow::Cow; use std::str; +use error::*; + /// Serializes a value into a querystring. /// /// ``` @@ -76,13 +78,6 @@ impl<'a, Target: 'a + UrlEncodedTarget> QsSerializer<'a, Target> { } } -error_chain!{ - errors { - Custom(msg: String) - Unsupported - } -} - impl Error { fn no_key() -> Self { let msg = "tried to serialize a value before serializing key"; |