Uh oh!
There was an error while loading. Please reload this page.
Document RFC 1940 (must_use on fns) - #247
Conversation
| } | ||
| ``` | ||
| #### Must Use Attribute |
There was a problem hiding this comment.
I'd change this to "must_use Attribute"
| # impl MustUse { | ||
| # fn new() -> MustUse { MustUse {} } | ||
| # } | ||
There was a problem hiding this comment.
Add a # to the start of one of these blank lines to avoid two in the rendered text.
Havvy
commented
Apr 3, 2018
Updated for behaviour with trait objects. Travis failure is in building mdbook? |
steveklabnik
commented
Apr 3, 2018
That's... odd |
zackmdavis
commented
May 2, 2018
Havvy
commented
May 3, 2018
I added a commit that just added a space and then had Travis test it. It passed. I then deleted that commit and it went back to the previous status of not passing because of whatever mysterious error we had last time. So if anybody wants to merge this, it's ready for merging. |
zackmdavis
commented
May 3, 2018
Travis will probably rebuild if you rebase on master? |
Havvy
commented
May 3, 2018
You are correct, and it now shows as passing. |
This is the reference side of documenting this attribute — both the updates for the RFC and the original functionality. I do not think that this PR is sufficient documentation for stabilizing the feature, as I think the API guidelines should also be updated.