Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carllin committed Oct 5, 2019
1 parent 4c8f053 commit 868622f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metrics/src/datapoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ mod test {
("bool", true, bool)
);
assert_eq!(point.name, "name");
assert_eq!(point.fields[0], ("i64", "1i".to_string()));;
assert_eq!(point.fields[0], ("i64", "1i".to_string()));
assert_eq!(
point.fields[1],
("String", "\"string space string\"".to_string())
Expand Down
2 changes: 1 addition & 1 deletion programs/stake_api/src/stake_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ mod tests {
std::mem::size_of::<StakeState>(),
&id(),
)
.expect("stake_account");;
.expect("stake_account");

let to = Pubkey::new_rand();
let mut to_account = Account::new(1, 0, &system_program::id());
Expand Down

0 comments on commit 868622f

Please sign in to comment.