Browse Source

docs: Remove duplicate usage example of the `signer` constraint (#3534)

Notorious D.E.V. 8 months ago
parent
commit
b4707889d7
1 changed files with 0 additions and 5 deletions
  1. 0 5
      docs/content/docs/references/account-constraints.mdx

+ 0 - 5
docs/content/docs/references/account-constraints.mdx

@@ -14,11 +14,6 @@ for implementation details.
 
 ### `#[account(signer)]`
 
-```rust title="attribute"
-#[account(signer)]
-#[account(signer @ <custom_error>)]
-```
-
 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)