From 74bfb00959f0e06876c262c032a5ac76a18baaf4 Mon Sep 17 00:00:00 2001 From: Jack May Date: Fri, 30 Oct 2020 01:16:44 -0700 Subject: [PATCH] Update AccountInfo comments (#13302) (cherry picked from commit 72d41e58011bf7eb75bee53969899f4290decf49) --- sdk/src/account_info.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/src/account_info.rs b/sdk/src/account_info.rs index 958e30584c..5e59525e8a 100644 --- a/sdk/src/account_info.rs +++ b/sdk/src/account_info.rs @@ -10,13 +10,13 @@ use std::{ pub struct AccountInfo<'a> { /// Public key of the account pub key: &'a Pubkey, - // Was the transaction signed by this account's public key? + /// Was the transaction signed by this account's public key? pub is_signer: bool, - // Is the account writable? + /// Is the account writable? pub is_writable: bool, - /// Account members that are mutable by the program + /// The lamports in the account. Modifiable by programs. pub lamports: Rc>, - /// Account members that are mutable by the program + /// The data held in this account. Modifiable by programs. pub data: Rc>, /// Program that owns this account pub owner: &'a Pubkey,