Skip to content

Commit

Permalink
commas -> semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
jordaaash committed Aug 3, 2022
1 parent 6b650b8 commit fc575cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions token/program/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ impl<'a> TokenInstruction<'a> {
11 => Self::ThawAccount,
12 => {
if rest.len() < 8 {
return Err(TokenError::InvalidInstruction.into()),
return Err(TokenError::InvalidInstruction.into());
}
let (amount, rest) = rest.split_at(8);
let amount = amount
Expand All @@ -534,7 +534,7 @@ impl<'a> TokenInstruction<'a> {
}
13 => {
if rest.len() < 8 {
return Err(TokenError::InvalidInstruction.into()),
return Err(TokenError::InvalidInstruction.into());
}
let (amount, rest) = rest.split_at(8);
let amount = amount
Expand All @@ -548,7 +548,7 @@ impl<'a> TokenInstruction<'a> {
}
14 => {
if rest.len() < 8 {
return Err(TokenError::InvalidInstruction.into()),
return Err(TokenError::InvalidInstruction.into());
}
let (amount, rest) = rest.split_at(8);
let amount = amount
Expand All @@ -562,7 +562,7 @@ impl<'a> TokenInstruction<'a> {
}
15 => {
if rest.len() < 8 {
return Err(TokenError::InvalidInstruction.into()),
return Err(TokenError::InvalidInstruction.into());
}
let (amount, rest) = rest.split_at(8);
let amount = amount
Expand Down Expand Up @@ -601,7 +601,7 @@ impl<'a> TokenInstruction<'a> {
22 => Self::InitializeImmutableOwner,
23 => {
if rest.len() < 8 {
return Err(TokenError::InvalidInstruction.into()),
return Err(TokenError::InvalidInstruction.into());
}
let (amount, _rest) = rest.split_at(8);
let amount = amount
Expand Down

0 comments on commit fc575cc

Please sign in to comment.