Skip to content

Add dedicated docstrings to Sum/Product impl of Result#42570

Merged
bors merged 1 commit into
rust-lang:masterfrom
birkenfeld:patch-3
Jun 12, 2017
Merged

Add dedicated docstrings to Sum/Product impl of Result#42570
bors merged 1 commit into
rust-lang:masterfrom
birkenfeld:patch-3

Conversation

@birkenfeld

Copy link
Copy Markdown
Contributor

(and fix a minor grammar typo below)

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @alexcrichton

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

@Mark-Simulacrum

Copy link
Copy Markdown
Member

r? @frewsxcv -- documentation PR

@Mark-Simulacrum Mark-Simulacrum added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 11, 2017
Comment thread src/libcore/iter/traits.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per rust-lang/rfcs#1574, there should be an # Examples line before this line

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

Comment thread src/libcore/iter/traits.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assert_eq!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Comment thread src/libcore/iter/traits.rs Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your change from https://github.com/rust-lang/rust/pull/42569/files could be copied here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, it's not so easy to apply here. Suggestion?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah you're right, nevermind

(and fix a minor grammar typo below)
@frewsxcv

Copy link
Copy Markdown
Contributor

@bors r+ rollup

Thanks!

@bors

bors commented Jun 12, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 2366c46 has been approved by frewsxcv

@bors

bors commented Jun 12, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 2366c46 with merge 5aa3403...

bors added a commit that referenced this pull request Jun 12, 2017
Add dedicated docstrings to Sum/Product impl of Result

(and fix a minor grammar typo below)
@bors

bors commented Jun 12, 2017

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: frewsxcv
Pushing 5aa3403 to master...

@bors bors merged commit 2366c46 into rust-lang:master Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants