Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in maybe expression documentation #8658

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

Maria-12648430
Copy link
Contributor

If a() would return -1 as the text says instead of {ok,-1}, the conditional match operator at {ok, A} ?= a() would fail, not the match operator at true = A >= 0 as the text says.

Copy link
Contributor

github-actions bot commented Jul 11, 2024

CT Test Results

  1 files   11 suites   4m 2s ⏱️
 93 tests  91 ✅ 2 💤 0 ❌
109 runs  107 ✅ 2 💤 0 ❌

Results for commit 3014bb8.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@jhogberg jhogberg added the team:VM Assigned to OTP team VM label Jul 15, 2024
@jhogberg jhogberg self-assigned this Jul 15, 2024
@jhogberg jhogberg merged commit 11d6f1f into erlang:maint Jul 15, 2024
17 checks passed
@jhogberg
Copy link
Contributor

Merged, thanks for the PR!

@Maria-12648430 Maria-12648430 deleted the fix_maybe_doc branch July 15, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants