summaryrefslogtreecommitdiffhomepage
path: root/erlang.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-03-30 22:54:14 +0200
committerven <vendethiel@hotmail.fr>2015-03-30 22:54:14 +0200
commitea7547b37578581f67765b397ccdd2f6d41e9861 (patch)
tree6dfe90154ca14d07128b757a49a3ca11b99e3bbe /erlang.html.markdown
parentdeda210b165496e28f4ff6e2f5d6700c1d4d5f67 (diff)
parent3c565a5535d7f6fb788b2a7b719262dd1a88720b (diff)
Merge pull request #1025 from nomatteus/erlang-if-fix
[erlang/en] Fix syntax error in erlang if-expression
Diffstat (limited to 'erlang.html.markdown')
-rw-r--r--erlang.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.html.markdown b/erlang.html.markdown
index 04086aeb..a7390c3e 100644
--- a/erlang.html.markdown
+++ b/erlang.html.markdown
@@ -206,7 +206,7 @@ max(X, Y) ->
if
X > Y -> X;
X < Y -> Y;
- true -> nil;
+ true -> nil
end.
% Warning: at least one of the guards in the `if` expression must evaluate to true;