Skip to content

Commit b470788

Browse files
docs: Remove duplicate usage example of the signer constraint (#3534)
1 parent 5dab494 commit b470788

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

docs/content/docs/references/account-constraints.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ for implementation details.
1414

1515
### `#[account(signer)]`
1616

17-
```rust title="attribute"
18-
#[account(signer)]
19-
#[account(signer @ <custom_error>)]
20-
```
21-
2217
Description: Checks the given account signed the transaction. Consider using the
2318
Signer type if you would only have this constraint on the account.
2419
Examples: [Github](https://github.com/solana-developers/anchor-examples/tree/main/account-constraints/signer)

0 commit comments

Comments
 (0)