Guidelines for must_use
?
#226
scottmcm
started this conversation in
API Guidelines
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I got assigned a pr (rust-lang/rust#78202) to add this to something, and realized I didn't have a great sense of when something should or shouldn't be
must_use
-- in some ways most things could be.Would be nice to have a checklist of things to consider.
This is especially true with
must_use
stable on functions now -- some people would like to put it on essentially everything, which seems like not what's desirable. I suppose guidelines on this could also push feedback up tolang
to change the rules for it...Beta Was this translation helpful? Give feedback.
All reactions