Skip to content

Commit d5e032e

Browse files
committed
Increase inspect limit to help print deeply nested data structures
1 parent 5e44c78 commit d5e032e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/elixir/lib/inspect/algebra.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ defmodule Inspect.Opts do
4646
* `:limit` - limits the number of items that are inspected for tuples,
4747
bitstrings, maps, lists and any other collection of items, with the exception of
4848
printable strings and printable charlists which use the `:printable_limit` option.
49-
It accepts a positive integer or `:infinity`. It defaults to `100` since
50-
`Elixir v1.19.0`, as it has better defaults to deal with nested collections.
49+
It accepts a positive integer or `:infinity`. It defaults to `200` since
50+
`Elixir v1.20.0`, as it has better defaults to deal with nested collections.
5151
5252
* `:pretty` - if set to `true` enables pretty printing. Defaults to `false`.
5353
@@ -90,7 +90,7 @@ defmodule Inspect.Opts do
9090
charlists: :infer,
9191
custom_options: [],
9292
inspect_fun: &Inspect.inspect/2,
93-
limit: 100,
93+
limit: 200,
9494
pretty: false,
9595
printable_limit: 4096,
9696
safe: true,

0 commit comments

Comments
 (0)