Skip to content

Commit fc71aee

Browse files
committed
remove vestigial with rewriting head
1 parent 3750e0c commit fc71aee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/style/blocks.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ defmodule Styler.Style.Blocks do
7575
{:cont, Zipper.replace(zipper, {:if, m, children}), ctx}
7676
end
7777

78-
def run({{:with, _, [[{{:__block__, _, [:do]}, body} | _]]}, _} = zipper, ctx) do
79-
{:cont, Zipper.replace(zipper, body), ctx}
80-
end
81-
8278
# Credo.Check.Refactor.WithClauses
8379
def run({{:with, _, children}, _} = zipper, ctx) when is_list(children) do
8480
do_block? = Enum.any?(children, &Style.do_block?/1)

0 commit comments

Comments
 (0)