Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
thbar authored Mar 25, 2024
1 parent dce77bf commit b195596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/getting-started-with-sax.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ To make it clear, let's call the state `foods` instead of `state`.
end
end

def handle_event(:end_document, _data, foods) do
def handle_event(:end_element, _data, foods) do
{:ok, foods}
end
end
Expand Down

0 comments on commit b195596

Please sign in to comment.