Skip to content

Commit

Permalink
format lib/style/single_node.ex
Browse files Browse the repository at this point in the history
  • Loading branch information
novaugust committed May 15, 2023
1 parent 0d868c3 commit 798c734
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/style/single_node.ex
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ defmodule Styler.Style.SingleNode do

defp style(node), do: node

defp r_align_matches(arrows), do: Enum.map(arrows, fn {:->, m, [lhs, rhs]} -> {:->, m, [put_matches_on_right(lhs), rhs]} end)
defp r_align_matches(arrows),
do: Enum.map(arrows, fn {:->, m, [lhs, rhs]} -> {:->, m, [put_matches_on_right(lhs), rhs]} end)

defp put_matches_on_right(ast) do
ast
Expand Down

0 comments on commit 798c734

Please sign in to comment.