We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa4ace commit 065b853Copy full SHA for 065b853
2 files changed
lib/elixir/lib/io.ex
@@ -128,7 +128,7 @@ defmodule IO do
128
@type nodata :: {:error, term} | :eof
129
@type chardata :: String.t() | maybe_improper_list(char | chardata, String.t() | [])
130
131
- @type inspect_opts :: [Inspect.Opts.new_opt() | {:label, term}]
+ @type inspect_opts :: [Inspect.Opts.new_opt() | {:label, String.Chars.t()}]
132
133
@typedoc """
134
Stacktrace information as keyword options for `warn/2`.
lib/elixir/lib/io/stream.ex
@@ -31,7 +31,7 @@ defmodule IO.Stream do
31
@type t :: %__MODULE__{
32
device: IO.device(),
33
raw: boolean(),
34
- line_or_bytes: :line | non_neg_integer()
+ line_or_bytes: :line | pos_integer()
35
}
36
37
@doc false
0 commit comments