aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--guide/parsers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guide/parsers.md b/guide/parsers.md
index e6e9ece..c38af0c 100644
--- a/guide/parsers.md
+++ b/guide/parsers.md
@@ -80,7 +80,7 @@ The general idea stays the same though.
<< Size:32, _/bits >> = Buffer,
case Buffer of
<< Frame:Size/binary, Rest/bits >> ->
- handle_frame(Frame, Buffer);
+ handle_frame(Frame, Rest);
_ ->
get_more_data(Buffer)
end.