Skip to content

Commit

Permalink
Blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
dduugg committed Dec 2, 2023
1 parent 6616bf4 commit 21a48ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/yard-sorbet/node_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def self.bfs_traverse(node, &_blk)
queue = Queue.new
queue.push(node)
until queue.empty?
n = queue.shift(true)
n = queue.shift
yield n
enque_children(queue, n)
end
Expand Down

0 comments on commit 21a48ef

Please sign in to comment.