提交 692715eb 编写于 作者: X Xavier Noria

Merge pull request #24906 from Neodelf/refactoring_loop

Replace `loop` to `until`
......@@ -2088,8 +2088,7 @@ def [](key)
def each
node = self
loop do
break if node.equal? NULL
until node.equal? NULL
yield node
node = node.parent
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册