소스 검색

Fix documentation for `Mutex.try_lock`

Documentation was not updated when return type was changed from `Error`
to `bool`
Ninni Pipping 2 년 전
부모
커밋
40e2168ac6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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">