Merge pull request #22 from cristicbz/public_decode_err

Export DecodeErrorKind c-tors publicly for #21.
This commit is contained in:
Alex Crichton 2014-10-03 09:57:39 -04:00
commit eda771d5f4

View file

@ -52,6 +52,9 @@ pub use serialization::{Encoder, encode, encode_str};
pub use serialization::{Decoder, decode, decode_str};
pub use serialization::{Error, NeedsKey, NoValue};
pub use serialization::{InvalidMapKeyLocation, InvalidMapKeyType};
pub use serialization::{DecodeError, ApplicationError, ExpectedField};
pub use serialization::{ExpectedMapElement, ExpectedMapKey, NoEnumVariants};
pub use serialization::{ExpectedType, NilTooLong};
mod parser;
mod show;