Skip to content

Commit

Permalink
Silence clippy::redundant_closure
Browse files Browse the repository at this point in the history
  • Loading branch information
mitsuhiko committed May 5, 2019
1 parent e1e3d26 commit 609e5e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cargo-insta/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
//! ```
//!
//! For more information see [the insta crate documentation](https://docs.rs/insta).
#![allow(clippy::redundant_closure)]
mod cargo;
mod cli;
mod inline;
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@
//!
//! After the initial test failure you can run `cargo insta review` to
//! accept the change. The file will then be updated automatically.
#![allow(clippy::redundant_closure)]
#[macro_use]
mod macros;
mod content;
Expand Down

0 comments on commit 609e5e3

Please sign in to comment.