mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
rescue StopIteration only.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ module Kernel
|
||||
while(true)
|
||||
yield
|
||||
end
|
||||
rescue => StopIteration
|
||||
rescue StopIteration
|
||||
nil
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user