Skip to content

Commit

Permalink
Merge pull request adambard#1025 from nomatteus/erlang-if-fix
Browse files Browse the repository at this point in the history
[erlang/en] Fix syntax error in erlang if-expression
  • Loading branch information
vendethiel committed Mar 30, 2015
2 parents deda210 + 3c565a5 commit ea7547b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erlang.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ea7547b

Please sign in to comment.