Signed-off-by: careworry <worrycare@outlook.com>
This commit is contained in:
careworry 2024-04-18 23:32:34 +08:00 коммит произвёл GitHub
Родитель ff599aea7c
Коммит 8e08556fa7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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?

Просмотреть файл

@ -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 }

Просмотреть файл

@ -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.

Просмотреть файл

@ -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,