Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmay committed Sep 21, 2018
1 parent 9a3a520 commit 0f7f0b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/system_program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,12 @@ mod test {
accounts[0].tokens = 100;
accounts[1].tokens = 1;
let tokens: i64 = 100;
let data: Vec<u8> = serialize(&tokens).unwrap();
let _data: Vec<u8> = serialize(&tokens).unwrap();
{
let hash = loaded_programs.write().unwrap();
match hash.get(&program_id) {
Some(dp) => {
let mut infos: Vec<_> = (&keys)
Some(_dp) => {
let mut _infos: Vec<_> = (&keys)
.into_iter()
.zip(&mut accounts)
.map(|(key, account)| KeyedAccount { key, account })
Expand Down

0 comments on commit 0f7f0b4

Please sign in to comment.