Skip to content

Weight: Put must_use above some of the functions#10686

Merged
bkchr merged 2 commits intomasterfrom
bkchr-weight-functions-must-use
Dec 18, 2025
Merged

Weight: Put must_use above some of the functions#10686
bkchr merged 2 commits intomasterfrom
bkchr-weight-functions-must-use

Conversation

@bkchr
Copy link
Copy Markdown
Member

@bkchr bkchr commented Dec 17, 2025

Some functions return the modified weight and the user must use this or the changes are lost. This way the compiler informs the user.

Some functions return the modified weight and the user
must use this or the changes are lost. This way the compiler
informs the user.
@bkchr bkchr requested a review from a team as a code owner December 17, 2025 20:48
@bkchr bkchr added the T17-primitives Changes to primitives that are not covered by any other label. label Dec 17, 2025
@bkchr bkchr enabled auto-merge December 17, 2025 20:48
@bkchr
Copy link
Copy Markdown
Member Author

bkchr commented Dec 17, 2025

/cmd prdoc --audience runtime_dev --bump patch

@bkchr bkchr added this pull request to the merge queue Dec 18, 2025
Merged via the queue into master with commit b4cbc83 Dec 18, 2025
310 of 316 checks passed
@bkchr bkchr deleted the bkchr-weight-functions-must-use branch December 18, 2025 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T17-primitives Changes to primitives that are not covered by any other label.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants