Ver código fonte

Merge pull request #78700 from AThousandShips/mutex_doc

Fix documentation for `Mutex.try_lock`
Rémi Verschelde 2 anos atrás
pai
commit
afc5fa14ad
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      doc/classes/Mutex.xml

+ 1 - 1
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">