Skip to content

Commit

Permalink
fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
bormilan committed Oct 10, 2024
1 parent 0db27a1 commit 299ed09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc_rules/elvis_style/no_init_lists.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# No Init Lists

Do not use a list as the parameter for the `init/1` callback when implementing `gen_*` behaviours. It's semantically clearer to use a tuple or a map. [More info](https://erlangforums.com/t/args-in-gen-init-1/3169/5)
Do not use a list as the parameter for the `init/1` callback when implementing `gen_*` behaviours.
It's semantically clearer to use a tuple or a map.
[More info](https://erlangforums.com/t/args-in-gen-init-1/3169/5)

> Works on `.beam` files? Yes!
Expand Down

0 comments on commit 299ed09

Please sign in to comment.