From 801b4e59f85d673864188be8f551674506bcd13d Mon Sep 17 00:00:00 2001 From: Victor Pontis Date: Sun, 28 Nov 2021 20:16:33 -0800 Subject: [PATCH] Update comment on state.rs regarding is_native MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I was confused when reading this comment and had to read the code to realize that the comment isn't a typo. (Btw, let me know if this kind of small changes are helpful or not 👍.) --- token/program/src/state.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/token/program/src/state.rs b/token/program/src/state.rs index c35f342831f..15cc1836d99 100644 --- a/token/program/src/state.rs +++ b/token/program/src/state.rs @@ -95,9 +95,9 @@ pub struct Account { pub delegate: COption, /// The account's state pub state: AccountState, - /// If is_some, this is a native token, and the value logs the rent-exempt reserve. An Account - /// is required to be rent-exempt, so the value is used by the Processor to ensure that wrapped - /// SOL accounts do not drop below this threshold. + /// If is_native.is_some, this is a native token, and the value logs the rent-exempt reserve. An + /// Account is required to be rent-exempt, so the value is used by the Processor to ensure that + /// wrapped SOL accounts do not drop below this threshold. pub is_native: COption, /// The amount delegated pub delegated_amount: u64,