Address latest nightly clippy lints, but globally disable stable_sort_primitive

This commit is contained in:
Michael Vines
2020-08-14 11:43:14 -07:00
parent a86397a650
commit d15173ad9d
13 changed files with 27 additions and 3 deletions

View File

@ -311,6 +311,7 @@ mod test {
}
#[test]
#[allow(clippy::same_item_push)]
fn test_parse_token() {
let mut keys: Vec<Pubkey> = vec![];
for _ in 0..10 {
@ -656,6 +657,7 @@ mod test {
}
#[test]
#[allow(clippy::same_item_push)]
fn test_token_ix_not_enough_keys() {
let mut keys: Vec<Pubkey> = vec![];
for _ in 0..10 {