We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3044aaf commit 7d6d68eCopy full SHA for 7d6d68e
sdk/pinocchio/src/account_info.rs
@@ -299,7 +299,7 @@ impl AccountInfo {
299
})
300
}
301
302
- /// Tries to get a read only reference to the lamport field, failing if the field
+ /// Tries to get a mutable reference to the lamport field, failing if the field
303
/// is already borrowed in any form.
304
pub fn try_borrow_mut_lamports(&self) -> Result<RefMut<u64>, ProgramError> {
305
// check if the account lamports are already borrowed
0 commit comments