Skip to content

Commit

Permalink
ci: fix 1.78 lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed May 7, 2024
1 parent ac4de7c commit f274f20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl AttrSigInfo {

self_occurrences.extend(args.iter().flat_map(|arg| arg.self_occurrences.clone()));

*original_attrs = non_bindgen_attrs.clone();
original_attrs.clone_from(&non_bindgen_attrs);

if matches!(method_kind, MethodKind::Call(_) | MethodKind::View(_)) {
report_spans(
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 @@ -3,6 +3,7 @@
#![allow(clippy::redundant_closure)]
// 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)]

#[cfg(test)]
extern crate quickcheck;
Expand Down

0 comments on commit f274f20

Please sign in to comment.