Skip to content
New issue

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

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

Already on GitHub? # to your account

Drop count_mandatory_message_parameters #6291

Merged

Conversation

contificate
Copy link
Contributor

Cherry-picked from another branch.

Use nested disjunctive patterns.

Signed-off-by: Colin James <colin.barr@cloud.com>
The function count_mandatory_message_parameters is dropped in favour of
computing the value in-place from information already available. The
original function is just an inlined left fold.

Signed-off-by: Colin James <colin.barr@cloud.com>
@contificate contificate marked this pull request as ready for review February 11, 2025 11:18
@contificate contificate added this pull request to the merge queue Feb 11, 2025
Merged via the queue into xapi-project:master with commit 132efb9 Feb 11, 2025
15 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants