Skip to content

Commit 2af00f4

Browse files
author
José Valim
committed
Merge pull request #2723 from edgurgel/fix-private-function-on-algebra
Make do_surround_many private on Inspect.Algebra
2 parents 1ca451f + 0fe86e7 commit 2af00f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/inspect/algebra.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,11 @@ defmodule Inspect.Algebra do
440440
do_surround_many(left, docs, right, opts.limit, opts, fun, separator)
441441
end
442442

443-
def do_surround_many(left, [], right, _, _opts, _fun, _) do
443+
defp do_surround_many(left, [], right, _, _opts, _fun, _) do
444444
concat(left, right)
445445
end
446446

447-
def do_surround_many(left, docs, right, limit, _opts, fun, sep) do
447+
defp do_surround_many(left, docs, right, limit, _opts, fun, sep) do
448448
surround(left, do_surround_many(docs, limit, _opts, fun, sep), right)
449449
end
450450

0 commit comments

Comments
 (0)