Merge pull request #232 from phansch/master

Revert "Allow a false-positive clippy lint" as it has been fixed in clippy
This commit is contained in:
Brandon W Maister 2018-04-01 19:00:21 -04:00 committed by GitHub
commit 5aabc29a1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -269,8 +269,6 @@ macro_rules! fix { ($x:ident) => (Item::Fixed(Fixed::$x)) }
#[derive(Debug, Clone, PartialEq, Eq, Copy)] #[derive(Debug, Clone, PartialEq, Eq, Copy)]
pub struct ParseError(ParseErrorKind); pub struct ParseError(ParseErrorKind);
// clippy false positive https://github.com/rust-lang-nursery/rust-clippy/issues/2475
#[cfg_attr(feature = "cargo-clippy", allow(empty_line_after_outer_attr))]
#[derive(Debug, Clone, PartialEq, Eq, Copy)] #[derive(Debug, Clone, PartialEq, Eq, Copy)]
enum ParseErrorKind { enum ParseErrorKind {
/// Given field is out of permitted range. /// Given field is out of permitted range.