summaryrefslogtreecommitdiffhomepage
path: root/erlang.html.markdown
diff options
context:
space:
mode:
authornomatteus <matt@ruten.ca>2015-03-30 16:13:26 -0400
committernomatteus <matt@ruten.ca>2015-03-30 16:13:26 -0400
commit3c565a5535d7f6fb788b2a7b719262dd1a88720b (patch)
tree6dfe90154ca14d07128b757a49a3ca11b99e3bbe /erlang.html.markdown
parentdeda210b165496e28f4ff6e2f5d6700c1d4d5f67 (diff)
Fix syntax error: Remove semicolon from last branch of erlang if-expression.
http://erlang.org/doc/reference_manual/expressions.html#id78310
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;