From 3fb0b614e8968aa5e9c51980c25de250d89a0574 Mon Sep 17 00:00:00 2001 From: Philipp Hansch Date: Sun, 1 Apr 2018 12:40:14 +0200 Subject: [PATCH] Revert "Allow a false-positive clippy lint" The issue has been fixed with the latest clippy release and we don't have to `allow` anymore. This reverts commit 7f990144ccb81c93354c8112f566d4c065c6b49e. --- src/format/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/format/mod.rs b/src/format/mod.rs index de13d2c..fc1e902 100644 --- a/src/format/mod.rs +++ b/src/format/mod.rs @@ -269,8 +269,6 @@ macro_rules! fix { ($x:ident) => (Item::Fixed(Fixed::$x)) } #[derive(Debug, Clone, PartialEq, Eq, Copy)] 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)] enum ParseErrorKind { /// Given field is out of permitted range.