summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
commit0c6f36668a11902903d85ada61a812d297d02de5 (patch)
tree0e976fcb5b4291258fa80c8f07249cad99d49cc6 /eval.c
parent293c6c8cc3cd9a9cb2910672589ee3631e1f1653 (diff)
Adjusted spaces [ci skip]
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 5d402e5..24228ca 100644
--- a/eval.c
+++ b/eval.c
@@ -1648,8 +1648,8 @@ rb_mod_s_used_modules(VALUE _)
const rb_cref_t *cref = rb_vm_cref();
VALUE ary = rb_ary_new();
- while(cref) {
- if(!NIL_P(CREF_REFINEMENTS(cref))) {
+ while (cref) {
+ if (!NIL_P(CREF_REFINEMENTS(cref))) {
rb_hash_foreach(CREF_REFINEMENTS(cref), used_modules_i, ary);
}
cref = CREF_NEXT(cref);