From 61ea202f8b10060e000f79a936e5e608eacb50ee Mon Sep 17 00:00:00 2001 From: Lazarus Lazaridis <9477868+iridakos@users.noreply.github.com> Date: Mon, 4 Mar 2024 18:35:51 +0200 Subject: [PATCH] [DOC] Fix invalid documentation for `reachable_objects_from` (#10172) Previous documentation is stating the opposite (that the method won't work for CRuby). --- ext/objspace/objspace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c index 06fa5f9d22..24d7bd419f 100644 --- a/ext/objspace/objspace.c +++ b/ext/objspace/objspace.c @@ -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'])