Add Rust BPF RefCell borrow helpers (#8047)

This commit is contained in:
Jack May
2020-01-30 20:40:27 -08:00
committed by GitHub
parent a0964bb2c2
commit 2226c1b75c
5 changed files with 61 additions and 8 deletions

View File

@ -30,7 +30,7 @@ pub enum ProgramError {
UninitializedAccount,
/// The instruction expected additional account keys
NotEnoughAccountKeys,
/// Failed to borrow a reference to an account, already borrowed
/// Failed to borrow a reference to account data, already borrowed
AccountBorrowFailed,
}