Skip to content

Commit

Permalink
Update src/cairo/commands.md
Browse files Browse the repository at this point in the history
Co-authored-by: Tarrence van As <tarrencev@users.noreply.github.com>
  • Loading branch information
ponderingdemocritus and tarrencev authored Aug 16, 2023
1 parent 014487e commit 0f9bae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Commands in Dojo are generalized functions that are expanded at compile time to
Commands are used within systems to interact with the world state. They are called using the following syntax:

```rust,ignore
let (mut position, mut moves) = get !(ctx.world, ctx.origin, (Position, Moves));
let (position, moves) = get!(ctx.world, ctx.origin, (Position, Moves));
```

### The `get!` command
Expand Down

0 comments on commit 0f9bae5

Please sign in to comment.