Преглед изворни кода

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

Notorious D.E.V. пре 8 месеци
родитељ
комит
b4707889d7
1 измењених фајлова са 0 додато и 5 уклоњено
  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)