summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNinni Pipping <over999ships@gmail.com>2023-06-26 08:48:47 +0200
committerNinni Pipping <over999ships@gmail.com>2023-06-26 08:48:47 +0200
commit40e2168ac67a7fcd8cbab50de51ecf45d7ca570d (patch)
tree5755fa4e159f9b3e13eb07b7b0c65823e39b7488
parent3710f069293f2fde8afe33fea898c4b36fa5e943 (diff)
downloadredot-engine-40e2168ac67a7fcd8cbab50de51ecf45d7ca570d.tar.gz
Fix documentation for `Mutex.try_lock`
Documentation was not updated when return type was changed from `Error` to `bool`
-rw-r--r--doc/classes/Mutex.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Mutex.xml b/doc/classes/Mutex.xml
index 98da57ed94..75c4e58748 100644
--- a/doc/classes/Mutex.xml
+++ b/doc/classes/Mutex.xml
@@ -27,7 +27,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">