chore: remove repetitive words (#10573)

Signed-off-by: careworry <worrycare@outlook.com>
This commit is contained in:
careworry 2024-04-18 23:32:34 +08:00 committed by GitHub
parent ff599aea7c
commit 8e08556fa7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -267,7 +267,7 @@ module SyntaxSuggest
groups.each do |lines|
line = lines.first
# Handle the case of multiple groups in a a row
# Handle the case of multiple groups in a row
# if one is already replaced, move on
next if @document[line.index].empty?

View File

@ -372,7 +372,7 @@ describe "Executing break from within a block" do
end.should_not raise_error
end
it "raises LocalJumpError when converted into a proc during a a super call" do
it "raises LocalJumpError when converted into a proc during a super call" do
cls1 = Class.new { def foo(&b); b; end }
cls2 = Class.new(cls1) { def foo; super { break 1 }.call; end }

View File

@ -586,7 +586,7 @@ wmap_size(VALUE self)
* the key and the object as the value. This means that the key is of the type
* `VALUE *` while the value is of the type `VALUE`.
*
* The object is not not directly stored as keys in the table because
* The object is not directly stored as keys in the table because
* `rb_gc_mark_weak` requires a pointer to the memory location to overwrite
* when the object is reclaimed. Using a pointer into the ST table entry is not
* safe because the pointer can change when the ST table is resized.

View File

@ -1418,7 +1418,7 @@ fn gen_putobject(
Some(KeepCompiling)
}
/// Combine `putobject` and and `opt_ltlt` together if profitable, for example when
/// Combine `putobject` and `opt_ltlt` together if profitable, for example when
/// left shifting an integer by a constant amount.
fn fuse_putobject_opt_ltlt(
jit: &mut JITState,