Remove unwrap (#16652)

This commit is contained in:
Jack May
2021-04-19 20:17:56 -07:00
committed by GitHub
parent 30c95d38a5
commit 01786f684e
5 changed files with 37 additions and 17 deletions

View File

@ -108,7 +108,7 @@ pub enum InstructionError {
AccountBorrowFailed,
/// Account data has an outstanding reference after a program's execution
#[error("instruction left account with an outstanding reference borrowed")]
#[error("instruction left account with an outstanding borrowed reference")]
AccountBorrowOutstanding,
/// The same account was multiply passed to an on-chain program's entrypoint, but the program