Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/elixir/lib/io.ex
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ defmodule IO do
end

@doc """
Inspects and writes the given `item` to the device.
Inspects and writes the given `item` to the standard output.

It's important to note that it returns the given `item` unchanged.
This makes it possible to "spy" on values by inserting an
Expand All @@ -432,6 +432,7 @@ defmodule IO do
The label will be printed before the inspected `item`.

See `Inspect.Opts` for a full list of remaining formatting options.
To print to other IO devices, see `IO.inspect/3`

## Examples

Expand Down