From b4707889d7524599c8bba66d3d61e331170aa0ba Mon Sep 17 00:00:00 2001 From: "Notorious D.E.V." Date: Wed, 5 Feb 2025 00:04:20 +0700 Subject: [PATCH] docs: Remove duplicate usage example of the `signer` constraint (#3534) --- docs/content/docs/references/account-constraints.mdx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/content/docs/references/account-constraints.mdx b/docs/content/docs/references/account-constraints.mdx index 8717f5b737..49c9390e5b 100644 --- a/docs/content/docs/references/account-constraints.mdx +++ b/docs/content/docs/references/account-constraints.mdx @@ -14,11 +14,6 @@ for implementation details. ### `#[account(signer)]` -```rust title="attribute" -#[account(signer)] -#[account(signer @ )] -``` - Description: Checks the given account signed the transaction. Consider using the Signer type if you would only have this constraint on the account. Examples: [Github](https://github.com/solana-developers/anchor-examples/tree/main/account-constraints/signer)