Skip to content

Add generic example of std::ops::Sub in doc comments#43413

Merged
bors merged 1 commit into
rust-lang:masterfrom
mandeep:ops-generics
Jul 24, 2017
Merged

Add generic example of std::ops::Sub in doc comments#43413
bors merged 1 commit into
rust-lang:masterfrom
mandeep:ops-generics

Conversation

@mandeep

@mandeep mandeep commented Jul 22, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

r? @alexcrichton

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

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Jul 23, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit ae7b1f9 has been approved by alexcrichton

@bors

bors commented Jul 24, 2017

Copy link
Copy Markdown
Collaborator

⌛ 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

bors commented Jul 24, 2017

Copy link
Copy Markdown
Collaborator

☀️ 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