diff --git a/variable.c b/variable.c index b53d0c1d1de992..940b47d252198b 100644 --- a/variable.c +++ b/variable.c @@ -2457,6 +2457,9 @@ rb_const_list(void *data) * modules (example at start of section), unless the inherit * parameter is set to false. * + * The implementation makes no guarantees about the order in which the + * constants are yielded. + * * IO.constants.include?(:SYNC) #=> true * IO.constants(false).include?(:SYNC) #=> false *