Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Havvy
Copy link
Contributor

@Havvy Havvy commented Feb 19, 2018

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.

}
```

#### Must Use Attribute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd change this to "must_use Attribute"

# impl MustUse {
# fn new() -> MustUse { MustUse {} }
# }

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a # to the start of one of these blank lines to avoid two in the rendered text.

@Havvy
Copy link
Contributor Author

Havvy commented Apr 3, 2018

Updated for behaviour with trait objects.

Travis failure is in building mdbook?

@steveklabnik
Copy link
Contributor

Travis failure is in building mdbook?

That's... odd

@zackmdavis
Copy link

@Havvy
Copy link
Contributor Author

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
Copy link

Travis will probably rebuild if you rebase on master?

@Havvy
Copy link
Contributor Author

Havvy commented May 3, 2018

You are correct, and it now shows as passing.

@alercah alercah merged commit b6d4ed7 into rust-lang:master May 3, 2018
@Havvy Havvy deleted the must-use branch May 3, 2018 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-stabilization Waiting for a stabilization PR to be merged in the main Rust repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants