From de57ac9227c6b347ad26fadfbe15ad322ad4894e Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Mon, 26 Jun 2023 08:48:47 +0200 Subject: [PATCH] Fix documentation for `Mutex.try_lock` Documentation was not updated when return type was changed from `Error` to `bool` (cherry picked from commit 40e2168ac67a7fcd8cbab50de51ecf45d7ca570d) --- doc/classes/Mutex.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Mutex.xml b/doc/classes/Mutex.xml index aa298e15aff..9fe677aeec2 100644 --- a/doc/classes/Mutex.xml +++ b/doc/classes/Mutex.xml @@ -22,7 +22,7 @@ Tries locking this [Mutex], but does not block. Returns [code]true[/code] on success, [code]false[/code] otherwise. - [b]Note:[/b] This function returns [constant OK] if the thread already has ownership of the mutex. + [b]Note:[/b] This function returns [code]true[/code] if the thread already has ownership of the mutex.