Skip to content

Commit 2eb6599

Browse files
authored
Apply suggestion from @josevalim
1 parent 695d17c commit 2eb6599

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/elixir/lib/inspect.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ defimpl Inspect, for: Any do
669669
Inspect.Map.inspect_as_struct(struct, Macro.inspect_atom(:literal, module), info, opts)
670670
end
671671

672+
# A temporary clause to deal with native records until they are officially supported
672673
def inspect(native_record, _opts) do
673674
:io_lib.format("~p", [native_record]) |> IO.iodata_to_binary()
674675
end

0 commit comments

Comments
 (0)