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

Merge pull request #24906 from Neodelf/refactoring_loop

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