Fix syntax error: Remove semicolon from last branch of erlang if-expression.

http://erlang.org/doc/reference_manual/expressions.html#id78310
This commit is contained in:
nomatteus 2015-03-30 16:13:26 -04:00
parent deda210b16
commit 3c565a5535

View File

@ -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;