浏览代码

Merge pull request #82557 from RadiantUwU/patch-2

Fix `RefCounted.unreference()` documentation providing wrong info.
Rémi Verschelde 2 年之前
父节点
当前提交
357a57b828
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/RefCounted.xml

+ 1 - 1
doc/classes/RefCounted.xml

@@ -37,7 +37,7 @@
 			<return type="bool" />
 			<description>
 				Decrements the internal reference counter. Use this only if you really know what you are doing.
-				Returns [code]true[/code] if the decrement was successful, [code]false[/code] otherwise.
+				Returns [code]true[/code] if the object should be freed after the decrement, [code]false[/code] otherwise.
 			</description>
 		</method>
 	</methods>