Skip to content

Combine related paragraphs and add more details for implementations #401

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

Merged
merged 3 commits into from
Sep 1, 2018

Conversation

JoshBrudnak
Copy link
Contributor

No description provided.

@JoshBrudnak JoshBrudnak changed the title Combine related paragraphs and add more details for implementations #372 Combine related paragraphs and add more details for implementations Aug 15, 2018
@JoshBrudnak
Copy link
Contributor Author

Fixes: #372

A type can have multiple inherent implementations.

The implementing type must be defined within the same crate.
A type can also have multiple inherent implementations. Although the
Copy link
Contributor

Choose a reason for hiding this comment

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

The "Although" used to join here feels very artificial.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, what if I use "but" instead of "although"

Copy link
Contributor

Choose a reason for hiding this comment

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

The "but" implies an exception on the previous statement. An "and" would do well if it cannot read well as two sentences.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Havvy Does this sound better: "An implementing type must be defined within the same crate as the original type definition."

@Havvy
Copy link
Contributor

Havvy commented Aug 15, 2018

LGTM. I didn't realize when I did all the changes around here I made the paragraphs so separated like that. My only quibble is that the "Although" joiner really is joining two disparate pieces of information. But that's ultimately a quibble.

Since I've touched this page so much, I'd rather the r+ come from another person before merging.

@Havvy Havvy added the Language Cleanup Improvements to existing language which is correct but not clear, or missing examples, or the like. label Aug 15, 2018
@JoshBrudnak
Copy link
Contributor Author

@Havvy I separated that second clause into "An implementing type must be defined within the same crate as the original type definition.".

@JoshBrudnak
Copy link
Contributor Author

@alercah can you review my changes? Thanks 💯

@Havvy
Copy link
Contributor

Havvy commented Sep 1, 2018

@alercah has been busy, and @matthewjasper has given their seal of approval. So gonna merge it.

💟 Thanks!

@Havvy Havvy merged commit 85df178 into rust-lang:master Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language Cleanup Improvements to existing language which is correct but not clear, or missing examples, or the like.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants