mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
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:
parent
deda210b16
commit
3c565a5535
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user