Skip to content

Commit ea02b0c

Browse files
author
Benjamin Zubača
authored
Fix indentation in JSON.Encoder module doc (#14114)
1 parent 62f49cd commit ea02b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/json.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ defprotocol JSON.Encoder do
55
If you have a struct, you can derive the implementation of this protocol
66
by specifying which fields should be encoded to JSON:
77
8-
@derive {JSON.Encoder, only: [....]}
9-
defstruct ...
8+
@derive {JSON.Encoder, only: [....]}
9+
defstruct ...
1010
1111
It is also possible to encode all fields or skip some fields via the
1212
`:except` option:

0 commit comments

Comments
 (0)