mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Simplify rb_define_module_id
This commit is contained in:
parent
ecf6c0402e
commit
8dc5fe6e89
Notes:
git
2019-10-10 01:00:16 +09:00
1 changed files with 1 additions and 5 deletions
6
class.c
6
class.c
|
@ -768,11 +768,7 @@ rb_module_new(void)
|
|||
VALUE
|
||||
rb_define_module_id(ID id)
|
||||
{
|
||||
VALUE mdl;
|
||||
|
||||
mdl = rb_module_new();
|
||||
|
||||
return mdl;
|
||||
return rb_module_new();
|
||||
}
|
||||
|
||||
VALUE
|
||||
|
|
Loading…
Add table
Reference in a new issue