Skip to content

Commit c84c776

Browse files
authored
Merge pull request #65 from bclrk/patch-2
fix `extserialize` example
2 parents b7a622b + 7d779c5 commit c84c776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ julia> struct Point{T}
372372
373373
julia> val = [Point(rand(), rand()) for _ in 1:100];
374374
375-
julia> bytes = MsgPack.pack(MsgPack.extserialize(123, x));
375+
julia> bytes = MsgPack.pack(MsgPack.extserialize(123, val));
376376
377377
julia> type, new_val = MsgPack.extdeserialize(MsgPack.unpack(bytes));
378378

0 commit comments

Comments
 (0)