Skip to content

Commit

Permalink
[DOC] Fix function name in example
Browse files Browse the repository at this point in the history
  • Loading branch information
larskanis authored and nobu committed Mar 1, 2022
1 parent 4a55f50 commit 1a20bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ruby/internal/variable.h
Expand Up @@ -147,7 +147,7 @@ RBIMPL_ATTR_NONNULL(())
* init_Foo(void)
* {
* foo = rb_eval_string("...");
* rb_define_global_variable("$foo", &foo);
* rb_define_variable("$foo", &foo);
* }
* ```
*
Expand Down

0 comments on commit 1a20bb1

Please sign in to comment.