diff --git a/lang/derive/accounts/src/lib.rs b/lang/derive/accounts/src/lib.rs index 1cfe636b7..8a0978e7b 100644 --- a/lang/derive/accounts/src/lib.rs +++ b/lang/derive/accounts/src/lib.rs @@ -50,6 +50,7 @@ use syn::parse_macro_input; /// | `#[account(executable)]` | On `AccountInfo` structs | Checks the given account is an executable program. | /// | `#[account(state = )]` | On `CpiState` structs | Checks the given state is the canonical state account for the target program. | /// | `#[account(owner = )]` | On `CpiState`, `CpiAccount`, and `AccountInfo` | Checks the account owner matches the target. | +/// | `#[account(address = )]` | On `AccountInfo` and `Account` | Checks the account key matches the pubkey. | // TODO: How do we make the markdown render correctly without putting everything // on absurdly long lines? #[proc_macro_derive(Accounts, attributes(account, instruction))]