Skip to content

Conversation

mandeep
Copy link
Contributor

@mandeep mandeep commented Jul 22, 2017

This PR adds an example of using generics with std::ops::Sub and is a follow up of PR #41612 and is related to issue #29365. I also wanted to add examples to Mul and Div, but I think these two traits are already loaded with examples.

@rust-highfive
Copy link
Contributor

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Jul 23, 2017

📌 Commit ae7b1f9 has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Jul 24, 2017

⌛ Testing commit ae7b1f9 with merge 6e0dc54...

bors added a commit that referenced this pull request Jul 24, 2017
Add generic example of std::ops::Sub in doc comments

This PR adds an example of using generics with std::ops::Sub and is a follow up of PR #41612 and is related to issue #29365. I also wanted to add examples to Mul and Div, but I think these two traits are already loaded with examples.
@bors
Copy link
Collaborator

bors commented Jul 24, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 6e0dc54 to master...

@bors bors merged commit ae7b1f9 into rust-lang:master Jul 24, 2017
@mandeep mandeep deleted the ops-generics branch July 24, 2017 02:57
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 this pull request may close these issues.

4 participants