From b7c23500aa029dff2ea99af1d2c18af418bcd4de Mon Sep 17 00:00:00 2001 From: Griffin Castles Date: Thu, 25 Jan 2024 13:21:56 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20docs(std):=20Resolve=20default?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `false` is now appropriately labelled as the default value of `must_use`. Resolves: https://github.com/Kampfkarren/selene/pull/583#discussion_r1465314527 --- docs/src/usage/std.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/usage/std.md b/docs/src/usage/std.md index 4c6c3d9b..61b1ed58 100644 --- a/docs/src/usage/std.md +++ b/docs/src/usage/std.md @@ -70,8 +70,8 @@ This field is used for allowing smarter introspection of how the argument given #### "must_use" This field is used for checking if the return value of a function is used. -- `true` - The default. The return value of this function must be used. -- `false` - The return value of this function does not need to be used. +- `true` - The return value of this function must be used. +- `false` - The default. The return value of this function does not need to be used. Example: ```yml