Skip to content

Commit 7d6d68e

Browse files
committed
Fix: Try Borrow Mut Lamports Typo
1 parent 3044aaf commit 7d6d68e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/pinocchio/src/account_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ impl AccountInfo {
299299
})
300300
}
301301

302-
/// Tries to get a read only reference to the lamport field, failing if the field
302+
/// Tries to get a mutable reference to the lamport field, failing if the field
303303
/// is already borrowed in any form.
304304
pub fn try_borrow_mut_lamports(&self) -> Result<RefMut<u64>, ProgramError> {
305305
// check if the account lamports are already borrowed

0 commit comments

Comments
 (0)