1
0
Fork 0

Fix documentation for `Mutex.try_lock`

Documentation was not updated when return type was changed from `Error`
to `bool`

(cherry picked from commit 40e2168ac6)
This commit is contained in:
Ninni Pipping 2023-06-26 08:48:47 +02:00 committed by Yuri Sizov
parent e862643007
commit de57ac9227
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<return type="bool" />
<description>
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.
</description>
</method>
<method name="unlock">