Skip to content

Commit 031a27f

Browse files
committed
Fix spec for surround_many
Signed-off-by: Eric Meadows-Jönsson <[email protected]>
1 parent f3c1931 commit 031a27f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/inspect/algebra.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ defmodule Inspect.Algebra do
435435
iex> Inspect.Algebra.format(doc, 20) |> IO.iodata_to_binary
436436
"[1! 2! 3! ...]"
437437
"""
438-
@spec surround_many(binary, [any], binary, integer | :infinity, (term -> t), binary) :: t
438+
@spec surround_many(binary, [any], binary, Inspect.Opts.t, (term, Inspect.Opts.t -> t), binary) :: t
439439
def surround_many(left, docs, right, opts, fun, separator \\ @surround_separator) do
440440
do_surround_many(left, docs, right, opts.limit, opts, fun, separator)
441441
end

0 commit comments

Comments
 (0)