patch lab 03 from feedback

This commit is contained in:
SowinskiBraeden committed 2026-10-01 18:11:51 -07:00
1 parent 7f5f47042a
commit d05bb4b089
4 files changed
+30 -8

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@ defmodule Card.Worker do
### Client API ###
def start() do
GenServer.start(__MODULE__, fresh(), name: __MODULE__)
GenServer.start(__MODULE__, nil, name: __MODULE__)
end
def new() do
@@ -31,8 +31,8 @@ defmodule Card.Worker do
end
@impl true
def init(arg) do
{:ok, arg}
def init(_arg) do
{:ok, fresh()}
end
@impl true