Skip to content

Commit 15f2165

Browse files
authored
Replace binary_size with byte_size in Protocol moduledoc (#15043)
1 parent 2a2be0a commit 15f2165

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elixir/lib/protocol.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule Protocol do
2121
the data structure.
2222
2323
Although Elixir includes specific functions such as `tuple_size`,
24-
`binary_size` and `map_size`, sometimes we want to be able to
24+
`byte_size` and `map_size`, sometimes we want to be able to
2525
retrieve the size of a data structure regardless of its type.
2626
In Elixir we can write polymorphic code, i.e. code that works
2727
with different shapes/types, by using protocols. A size protocol

0 commit comments

Comments
 (0)