Skip to content

Commit

Permalink
ci: allow clippy::needless_lifetimes (1.83 more suggestions) (#1267)
Browse files Browse the repository at this point in the history
Co-authored-by: dj8yf0μl <[email protected]>
  • Loading branch information
dj8yfo and dj8yf0μl authored Nov 28, 2024
1 parent e0a9b54 commit d7c16c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions near-contract-standards/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 1 addition & 0 deletions near-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d7c16c8

Please sign in to comment.