mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-24 01:51:38 +00:00
Merge pull request #1025 from nomatteus/erlang-if-fix
[erlang/en] Fix syntax error in erlang if-expression
This commit is contained in:
commit
ea7547b375
@ -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