diff --git a/near-contract-standards/src/lib.rs b/near-contract-standards/src/lib.rs index d6e548041..3a3b86d73 100644 --- a/near-contract-standards/src/lib.rs +++ b/near-contract-standards/src/lib.rs @@ -1,5 +1,6 @@ // We want to enable all clippy lints, but some of them generate false positives. #![allow(clippy::missing_const_for_fn, clippy::redundant_pub_crate)] +#![allow(clippy::needless_lifetimes)] /// Fungible tokens as described in [by the spec](https://nomicon.io/Standards/FungibleToken/README.html). pub mod fungible_token; diff --git a/near-sdk/src/lib.rs b/near-sdk/src/lib.rs index 85da47a82..b4ae14f57 100644 --- a/near-sdk/src/lib.rs +++ b/near-sdk/src/lib.rs @@ -4,6 +4,7 @@ // We want to enable all clippy lints, but some of them generate false positives. #![allow(clippy::missing_const_for_fn, clippy::redundant_pub_crate)] #![allow(clippy::multiple_bound_locations)] +#![allow(clippy::needless_lifetimes)] #[cfg(test)] extern crate quickcheck;