Skip to content

Commit

Permalink
fix beam_instructions code example
Browse files Browse the repository at this point in the history
Looks like one of the labels were accidentally included twice, so I removed the duplicate.
  • Loading branch information
DrPhil authored and happi committed Feb 12, 2024
1 parent fa6c9b1 commit a7d94f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chapters/beam_instructions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,6 @@ A minimal receive loop, which accepts any message and has no timeout

[source,erlang]
----
{label,2}.
{wait,{f,1}}.
{label,1}.
{loop_rec,{f,2},{x,0}}.
remove_message.
Expand Down

0 comments on commit a7d94f2

Please sign in to comment.