diff options
Diffstat (limited to 'ruby')
-rw-r--r-- | ruby/ext/google/protobuf_c/upb.h | 2 | ||||
-rw-r--r-- | ruby/lib/google/protobuf/repeated_field.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ruby/ext/google/protobuf_c/upb.h b/ruby/ext/google/protobuf_c/upb.h index 2faf74e5..e8b683bd 100644 --- a/ruby/ext/google/protobuf_c/upb.h +++ b/ruby/ext/google/protobuf_c/upb.h @@ -55,7 +55,7 @@ ** store pointers or integers of at least 32 bits (upb isn't really useful on ** systems where sizeof(void*) < 4). ** -** The table must be homogenous (all values of the same type). In debug +** The table must be homogeneous (all values of the same type). In debug ** mode, we check this on insert and lookup. */ diff --git a/ruby/lib/google/protobuf/repeated_field.rb b/ruby/lib/google/protobuf/repeated_field.rb index 0ad2060d..831e0320 100644 --- a/ruby/lib/google/protobuf/repeated_field.rb +++ b/ruby/lib/google/protobuf/repeated_field.rb @@ -173,7 +173,7 @@ module Google external_enumerator.each_with_index do |val, i| result = yield(val) results << result - #nil means no change occured from yield; usually occurs when #to_a is called + #nil means no change occurred from yield; usually occurs when #to_a is called if result repeated_field[i] = result if result != val end |