Skip to content

Commit

Permalink
shut up clippy on tests involving get-key_pair
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker authored and ma2bd committed Aug 26, 2020
1 parent 1533376 commit 27a3265
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions rust/fastpay/src/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

#![deny(warnings)]
#![allow(clippy::same_item_push)] // get_key_pair returns random elements

extern crate fastpay;
extern crate fastpay_core;
Expand Down
1 change: 1 addition & 0 deletions rust/fastpay_core/src/unit_tests/client_tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Facebook Inc.
// SPDX-License-Identifier: Apache-2.0
#![allow(clippy::same_item_push)] // get_key_pair returns random elements

use super::*;
use crate::authority::{AccountOffchainState, Authority, AuthorityState};
Expand Down
1 change: 1 addition & 0 deletions rust/fastpay_core/src/unit_tests/serialize_tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) Facebook Inc.
// SPDX-License-Identifier: Apache-2.0
#![allow(clippy::same_item_push)] // get_key_pair returns random elements

use super::*;
use crate::base_types::*;
Expand Down

0 comments on commit 27a3265

Please sign in to comment.