summaryrefslogtreecommitdiffhomepage
path: root/doc/mrbgems/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mrbgems/README.md')
-rw-r--r--doc/mrbgems/README.md11
1 files changed, 4 insertions, 7 deletions
diff --git a/doc/mrbgems/README.md b/doc/mrbgems/README.md
index 49c8f56d1..6c473b57d 100644
--- a/doc/mrbgems/README.md
+++ b/doc/mrbgems/README.md
@@ -99,13 +99,10 @@ mrbgems expects that you have implemented a C method called
by the name of your GEM. If you call your GEM *c_extension_example*, your
finalizer method could look like this:
-```
-void
-mrb_c_extension_example_gem_final(mrb_state* mrb) {
- free(someone);
-}
-```
-
+ void
+ mrb_c_extension_example_gem_final(mrb_state* mrb) {
+ free(someone);
+ }
### Example