Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored and Lcchy committed Jul 22, 2022
1 parent fe5a5de commit 63ef27f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions programs/bpf_loader/src/syscalls/cpi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -690,9 +690,10 @@ where
.feature_set
.is_active(&enable_early_verification_of_account_modifications::id())
{
Err(SyscallError::InstructionError(
return Err(SyscallError::InstructionError(
InstructionError::RentEpochModified,
))?;
)
.into());
} else {
callee_account
.borrow_mut()
Expand Down

0 comments on commit 63ef27f

Please sign in to comment.