summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
authorkatmutua <[email protected]>2014-06-16 11:51:18 -0300
committerkatmutua <[email protected]>2014-06-16 14:13:24 -0300
commit17e3203cfca8541e79b94b47c8619fa87d669f4e (patch)
tree906c0b93d22521a84521782e1a9e0bdc5acab855 /src/variable.c
parent36ab17d8ce7ff0b481d8217bd3a389b1eab28f22 (diff)
downloadmruby-17e3203cfca8541e79b94b47c8619fa87d669f4e.tar.gz
mruby-17e3203cfca8541e79b94b47c8619fa87d669f4e.zip
[minor-fix]Minor cleanups on variable.c comments
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/variable.c b/src/variable.c
index 5f762dd0b..74bb591cf 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -124,10 +124,10 @@ iv_put(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value val)
* mrb
* t the variable table to be searched.
* sym the symbol to be used as the key.
- * vp the value pointer. Recieves the value if the specified symbol contains
- * in the instance variable table.
+ * vp the value pointer. Receives the value if the specified symbol is
+ * contained in the instance variable table.
* Returns
- * true if the specfiyed symbol contains in the instance variable table.
+ * true if the specified symbol is contained in the instance variable table.
*/
static mrb_bool
iv_get(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp)
@@ -159,10 +159,10 @@ iv_get(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp)
* Parameters
* t the variable table to be searched.
* sym the symbol to be used as the key.
- * vp the value pointer. Recieve the deleted value if the symbol contans
- * in the instance varible table.
+ * vp the value pointer. Receive the deleted value if the symbol is
+ * contained in the instance variable table.
* Returns
- * true if the specfied symbol contains in the instance variable table.
+ * true if the specified symbol is contained in the instance variable table.
*/
static mrb_bool
iv_del(mrb_state *mrb, iv_tbl *t, mrb_sym sym, mrb_value *vp)