Skip to content

Commit de6a6b6

Browse files
authored
Merge pull request #91 from eksperimental/patch-2
Use backticks in Elixir code in 5-elixir.livemd
2 parents 8be0748 + cee9e21 commit de6a6b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/5-elixir.livemd

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Deserialization of untrusted input can result in atom creation, which can lead t
7474

7575
### Prevention
7676

77-
* Use the :safe option when calling `:erlang.binary_to_term/2` on untrusted input (should be familiar from atom exhaustion 😀)
77+
* Use the `:safe` option when calling `:erlang.binary_to_term/2` on untrusted input (should be familiar from atom exhaustion 😀)
7878
* Prevent function deserialisation from untrusted input, e.g. using `Plug.Crypto.non_executable_binary_to_term/1,2`
7979

8080
### Resource
@@ -191,7 +191,7 @@ By using expressions that do not use boolean coercion, the incorrect assumption
191191
* Prefer `or` over `||`
192192
* Prefer `not` over `!`
193193

194-
The latter will raise a "BadBooleanError" when the function returns :ok or {:error, \_}. In the interest of clarity it may even be better to use a case construct, matching explicitly on true and false.
194+
The latter will raise a `BadBooleanError` when the function returns `:ok` or `{:error, _}`. In the interest of clarity it may even be better to use a case construct, matching explicitly on true and false.
195195

196196
### Resources
197197

0 commit comments

Comments
 (0)