зеркало из https://github.com/github/ruby.git
chore: remove repetitive words (#10573)
Signed-off-by: careworry <worrycare@outlook.com>
This commit is contained in:
Родитель
ff599aea7c
Коммит
8e08556fa7
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче