summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorshirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-06 22:00:12 +0000
committershirosaki <shirosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-06 22:00:12 +0000
commit6678422feea0bc7e3c8e3097c47ac6ef396557db (patch)
tree2971312cae2f9358a52b20d3b79123f3d5cc30fb /load.c
parent75c20a7902e50a05263b30b5ae1feaf54788833c (diff)
Fix typos in comments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
-rw-r--r--load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/load.c b/load.c
index 650b931661..827679ebac 100644
--- a/load.c
+++ b/load.c
@@ -42,7 +42,7 @@ enum expand_type {
/* Construct expanded load path and store it to cache.
We rebuild load path partially if the cache is invalid.
- We don't cache non string object and expand it every times. We ensure that
+ We don't cache non string object and expand it every time. We ensure that
string objects in $LOAD_PATH are frozen.
*/
static void
@@ -81,7 +81,7 @@ rb_construct_expanded_load_path(int type, int *has_relative, int *has_non_cache)
*has_relative = 1;
if (!*has_non_cache && non_cache)
*has_non_cache = 1;
- /* Freeze only string object. We expand other objects every times. */
+ /* Freeze only string object. We expand other objects every time. */
if (is_string)
rb_str_freeze(path);
as_str = rb_get_path_check_convert(path, as_str, level);