-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
TRPL: operators and overloading #24725
TRPL: operators and overloading #24725
Conversation
r? @pcwalton (rust_highfive has picked a reviewer for you, use r? to override) |
``` | ||
|
||
In `main`, we can use `+` on our two `Point`s, since `we’ve implemented | ||
`Add<Output=Point>` for `Point`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the backticks got a little jumbled somewhere around here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops!
f8485e9
to
b24271e
Compare
I forgot these heavily use associated types, so move it after that as well.
Updated! |
@bors: rollup |
adding to #24786 |
…loading, r=alexcrichton I forgot these heavily use associated types, so move it after that as well.
I forgot these heavily use associated types, so move it after that
as well.