Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document std::ops #9356

Closed
kud1ing opened this issue Sep 20, 2013 · 1 comment · Fixed by #9522
Closed

Document std::ops #9356

kud1ing opened this issue Sep 20, 2013 · 1 comment · Fixed by #9522

Comments

@kud1ing
Copy link

kud1ing commented Sep 20, 2013

I think that implementing the trait Add will give the operator + etc.
For some traits this is clearer than for others.

@chris-morgan
Copy link
Member

Note that these are actually covered in the reference manual (with the exception of Index, which is for self[index]). To be certain, they should still have doc comments added in ops.rs.

bors added a commit that referenced this issue Oct 3, 2013
Added an overview with a 'real' example, as well as toy implementations of all of
the traits.

Closes #9356.
@bors bors closed this as completed in 964da1c Oct 3, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 6, 2022
[`never_loop`]: Fix FP with let..else statements.

Fixes rust-lang#9356

This has been bugging me for a while, so I thought I'd take a stab at it! I'm completely uncertain about the quality of my code, but I think it's an alright start, so opening this PR to get some feedback from more experienced clippy people :)

changelog: [`never_loop`]: Fix FP with let..else statements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants