Skip to content

Commit 4aa5c83

Browse files
committed
remove dead code found by type system
1 parent 7c020d1 commit 4aa5c83

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/phoenix_live_view/engine.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,6 @@ defmodule Phoenix.LiveView.Rendered do
153153
Phoenix.HTML.Safe.to_iodata(struct)
154154
end
155155

156-
def to_iodata(nil) do
157-
raise "cannot convert .heex/.leex template with change tracking to iodata"
158-
end
159-
160156
def to_iodata(other) do
161157
other
162158
end

0 commit comments

Comments
 (0)