Skip to content

Commit 47c9c20

Browse files
committed
Fix unused variables warning
1 parent faef2ae commit 47c9c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/scenic/view_port.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ defmodule Scenic.ViewPort do
420420
GenServer.call(pid, {:set_root, scene, args})
421421
end
422422

423-
def set_root(_, %Scene{} = scene, _) do
423+
def set_root(_, %Scene{}, _) do
424424
raise "You must pass the module that represents the scene you want to switch to here, not a `%Scenic.Scene{}`"
425425
end
426426

0 commit comments

Comments
 (0)