Skip to content

Commit 89fbe85

Browse files
imerajhappi
authored andcommitted
use term_to_binary and fix module name
1 parent 1150c21 commit 89fbe85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chapters/memory.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ size() ->
11661166
2> share:share(10,[a,b,c]), ok.
11671167
ok
11681168
1169-
3> byte_size(list_to_binary(test:share(10,[a,b,c]))), ok.
1169+
3> byte_size(term_to_binary(share:share(10,[a,b,c]))), ok.
11701170
HUGE size (13695500364)
11711171
Abort trap: 6
11721172

0 commit comments

Comments
 (0)