mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[DOC] Fix invalid documentation for reachable_objects_from (#10172)
Previous documentation is stating the opposite (that the method won't work for CRuby).
This commit is contained in:
parent
85fe8b6b9c
commit
61ea202f8b
@ -623,7 +623,7 @@ collect_values(st_data_t key, st_data_t value, st_data_t data)
|
||||
*
|
||||
* With this method, you can find memory leaks.
|
||||
*
|
||||
* This method is only expected to work except with C Ruby.
|
||||
* This method is only expected to work with C Ruby.
|
||||
*
|
||||
* Example:
|
||||
* ObjectSpace.reachable_objects_from(['a', 'b', 'c'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user