diff options
author | Brian Koropoff <bkoropoff@gmail.com> | 2014-08-17 16:28:44 -0700 |
---|---|---|
committer | Brian Koropoff <bkoropoff@gmail.com> | 2014-08-17 16:46:08 -0700 |
commit | 04827b4d07831773175f2c5d7ac267309abc1e16 (patch) | |
tree | a3a2036c12bc821de92c865886c67efc08056e57 /src/lib.rs | |
parent | a4f07b40f547455b3d6bb5a53485a412316d824c (diff) | |
download | milf-rs-04827b4d07831773175f2c5d7ac267309abc1e16.tar.gz milf-rs-04827b4d07831773175f2c5d7ac267309abc1e16.zip |
Rename parser::Error to parser::ParseError
This avoids a conflict with serialization::Error and
actually re-exports it from the crate root as intended.
It also fixes a build break due to the new import
shadowing gate in rustc.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -46,7 +46,7 @@ extern crate serialize; use std::collections::TreeMap; use std::from_str::FromStr; -pub use parser::{Parser, Error}; +pub use parser::{Parser,ParserError}; pub use serialization::{Encoder, encode, encode_str}; pub use serialization::{Decoder, decode, decode_str}; pub use serialization::{Error, NeedsKey, NoValue}; |