Skip to content

Commit a00ba65

Browse files
committed
Consistent spec syntax, fixes elixir-lang#13552
1 parent 67983c0 commit a00ba65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/regex.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ defmodule Regex do
748748
"Abcadc"
749749
750750
"""
751-
@spec replace(t, String.t(), String.t() | (... -> String.t()), [{:global, boolean()}]) ::
751+
@spec replace(t, String.t(), String.t() | (... -> String.t()), global: boolean()) ::
752752
String.t()
753753
def replace(%Regex{} = regex, string, replacement, options \\ [])
754754
when is_binary(string) and is_list(options) do

0 commit comments

Comments
 (0)