Merge pull request #114 from tredoe/patch-1

Update mod.rs
This commit is contained in:
Kang Seonghoon 2017-02-07 04:12:02 +09:00 committed by GitHub
commit 41d5584900
1 changed files with 2 additions and 2 deletions

View File

@ -227,10 +227,10 @@ macro_rules! nums { ($x:ident) => (Item::Numeric(Numeric::$x, Pad::Space)) }
macro_rules! fix { ($x:ident) => (Item::Fixed(Fixed::$x)) }
/// An error from the `parse` function.
#[derive(Debug, Clone, PartialEq, Copy)]
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub struct ParseError(ParseErrorKind);
#[derive(Debug, Clone, PartialEq, Copy)]
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
enum ParseErrorKind {
/// Given field is out of permitted range.
OutOfRange,