Skip to content

Commit b764512

Browse files
committed
Fixed by misspell -w -error -source=text
1 parent 25f277a commit b764512

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

concurrent_set.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ concurrent_set_try_resize_without_locking(VALUE old_set_obj, VALUE *set_obj_ptr)
129129
new_capacity = old_capacity;
130130
}
131131

132-
// May cause GC and therefore deletes, so must hapen first.
132+
// May cause GC and therefore deletes, so must happen first.
133133
VALUE new_set_obj = rb_concurrent_set_new(old_set->funcs, new_capacity);
134134
struct concurrent_set *new_set = RTYPEDDATA_GET_DATA(new_set_obj);
135135

lib/erb/util.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
require 'cgi/escape'
1010

1111
# Load or define ERB::Escape#html_escape.
12-
# We don't build the C extention 'cgi/escape' for JRuby, TruffleRuby, and WASM.
12+
# We don't build the C extension 'cgi/escape' for JRuby, TruffleRuby, and WASM.
1313
# miniruby (used by CRuby build scripts) also fails to load erb/escape.so.
1414
begin
1515
require 'erb/escape'

lib/net/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ def response_body_encoding=(value)
13231323
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
13241324
attr_writer :proxy_pass
13251325

1326-
# Sets wheter the proxy uses SSL;
1326+
# Sets whether the proxy uses SSL;
13271327
# see {Proxy Server}[rdoc-ref:Net::HTTP@Proxy+Server].
13281328
attr_writer :proxy_use_ssl
13291329

string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3979,7 +3979,7 @@ rb_str_append_as_bytes(int argc, VALUE *argv, VALUE str)
39793979

39803980
clear_cr:
39813981
// If no fast path was hit, we clear the coderange.
3982-
// append_as_bytes is predominently meant to be used in
3982+
// append_as_bytes is predominantly meant to be used in
39833983
// buffering situation, hence it's likely the coderange
39843984
// will never be scanned, so it's not worth spending time
39853985
// precomputing the coderange except for simple and common

zjit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ rb_zjit_exit_locations_dict(VALUE *zjit_raw_samples, int *zjit_line_samples, int
103103

104104
// Loop through the length of samples_len and add data to the
105105
// frames hash. Also push the current value onto the raw_samples
106-
// and line_samples arrary respectively.
106+
// and line_samples array respectively.
107107
for (int o = 0; o < num; o++) {
108108
rb_zjit_add_frame(frames, zjit_raw_samples[idx]);
109109
rb_ary_push(raw_samples, SIZET2NUM(zjit_raw_samples[idx]));

0 commit comments

Comments
 (0)