Skip to content
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

Items chapter cleanup and improvements #91

Merged
merged 3 commits into from
Aug 15, 2017

Conversation

matthewjasper
Copy link
Contributor

This PR makes (mostly) small improvements to the items chapter

  • Make the list at the start of the chapter be in the same order as the actual chapter
  • Say some more about C-like enums
  • Make the wrapping more consistent (lots of this)
  • Fix some header levels
  • Make more of the code examples tested
  • Be a bit clearer on RFC 116
  • Reorganises the traits section and adds some titles

* Make the list at the start of the chapter be in the same order as the actual chapter
* Say some more about C like enums
* Make the wrapping more consistent
* Fix some header levels
* Make more of the code examples tested
* Be a bit clearer on RFC 116
src/items.md Outdated
[path]: paths.html
[modules]: #modules
[blocks]: ../grammar.html#block-expressions
[path]: paths.html [modules]: #modules [blocks]:
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't this break the links?

src/items.md Outdated

[struct type]: types.html#struct-types
[tuple type]: types.html#tuple-types
[struct type]: types.html#struct-types [tuple type]: types.html#tuple-types
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here with does this actually break links? We probably want them on multiple lines even if they don't.

@Havvy
Copy link
Contributor

Havvy commented Aug 9, 2017

LGTM minus the two comments.

@steveklabnik
Copy link
Member

This LGTM too; a small rebase is needed due to a grammar PR; ping me when you've rebased and I will merge!

@matthewjasper
Copy link
Contributor Author

@steveklabnik this should now be good to go.

@steveklabnik steveklabnik merged commit a3dcfe5 into rust-lang:master Aug 15, 2017
@steveklabnik
Copy link
Member

Thank you!

@matthewjasper matthewjasper deleted the items-cleanup branch October 18, 2018 21:00
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.

3 participants