Skip to content

Commit

Permalink
Let crystal 1.5 formatter be happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed Jan 22, 2025
1 parent ba1ced1 commit bc1251e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/desktop/leaf_node.cr
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module Desktop
self
end

def each_item
def each_item(&)
@stack.each do |item|
yield(item)
end
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/widget.cr
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module Desktop
end
end

private def layout_change
private def layout_change(&)
Log.info do
spaces = "\n "
"desktop.to_yaml.strip.should eq(<<-EOS)\n" \
Expand Down

0 comments on commit bc1251e

Please sign in to comment.