Skip to content

Commit

Permalink
Fix a typo for the 'delete' instruction (#551)
Browse files Browse the repository at this point in the history
The description for the delete logic should be: implement the logic for the 'delete' instruction rather than  ...  'update' instruction
  • Loading branch information
sepine authored Oct 7, 2024
1 parent e58bbbb commit b96fa87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro/quick-start/program-derived-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ The `Delete` struct defines the accounts required for the `delete` instruction:
</AccordionItem>
</Accordion>

Next, implement the logic for the `update` instruction.
Next, implement the logic for the `delete` instruction.

```rs filename="lib.rs"
pub fn delete(_ctx: Context<Delete>) -> Result<()> {
Expand Down

0 comments on commit b96fa87

Please sign in to comment.