Skip to content

Conversation

Cobrand and others added 10 commits October 28, 2016 17:18
improve docs for Index and IndexMut

This mainly changes the boring example of Foo/Bar of `IndexMut` into a better one.

Also added explanations about syntactic sugar for `v[index]`.

Closes rust-lang#36329
…me, r=petrochenkov

Remove outdated fixme comment.

Linked issue has been closed, but the comment was not removed.

If this is still an issue, then the comment should probably be updated.

r? @petrochenkov
…0532, r=GuillaumeGomez

Add E0532 error explanation

This resolves one of the error list in rust-lang#35347 - just because I stumbled over it today.

I assumed the error code should be removed from `register_diagnostics!` because it's now defined above.

Since that is my first code contribution, please check that all is in order. It would be helpful to know how to run the test for the `compile_fail,E0532` part. I did `make check-stage1-cfail NO_REBUILD=1` but that doesn't test the inlined example.

r? @GuillaumeGomez
…pasel422

Fix typo in the BitAndAssign operator documentation

The name of the operator should be `&=` instead of `&`.
@rust-highfive
Copy link
Contributor

r? @sfackler

(rust_highfive has picked a reviewer for you, use r? to override)

@GuillaumeGomez
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Collaborator

bors commented Oct 31, 2016

📌 Commit 0a59eba has been approved by GuillaumeGomez

@bors
Copy link
Collaborator

bors commented Oct 31, 2016

⌛ Testing commit 0a59eba with merge bf5b824...

bors added a commit that referenced this pull request Oct 31, 2016
Rollup of 5 pull requests

- Successful merges: #37438, #37458, #37462, #37475, #37486
- Failed merges:
@bors bors merged commit 0a59eba into rust-lang:master Oct 31, 2016
@GuillaumeGomez GuillaumeGomez deleted the rollup branch October 31, 2016 21:23
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants