Skip to content

Commit

Permalink
πŸ“ƒ docs(std): Resolve tostring
Browse files Browse the repository at this point in the history
Replaced `table.find` example with a `tostring` example

Resolves: #583 (comment)
  • Loading branch information
Midnightific committed Jan 26, 2024
1 parent 78b1523 commit 9dd838a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/src/usage/std.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,10 @@ This field is used for checking if the return value of a function is used.

Example:
```yml
table.find:
args:
- type: table
observes: read
required: true
- type: any
required: true
must_use: true # The return value of this function must be used
tostring:
args:
- type: any
must_use: true
```

#### Argument types
Expand Down

0 comments on commit 9dd838a

Please sign in to comment.