From 9dd838a2143095670586564e7c15a5434578eff4 Mon Sep 17 00:00:00 2001 From: Griffin Castles Date: Fri, 26 Jan 2024 09:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20docs(std):=20Resolve=20`tostring?= =?UTF-8?q?`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaced `table.find` example with a `tostring` example Resolves: https://github.com/Kampfkarren/selene/pull/583#discussion_r1466771313 --- docs/src/usage/std.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/src/usage/std.md b/docs/src/usage/std.md index dda0ffd8..93e06247 100644 --- a/docs/src/usage/std.md +++ b/docs/src/usage/std.md @@ -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