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

Rollup of 7 pull requests #32126

Merged
merged 14 commits into from
Mar 9, 2016
Merged

Rollup of 7 pull requests #32126

merged 14 commits into from
Mar 9, 2016

Conversation

nodakai and others added 14 commits March 7, 2016 02:45
Changed "[vector]" to a link to the vector documentation.
- Mention the sugared syntax for the implementations, since it's not
  apparent from the docs that `Index<Range<usize>>` corresponds to
  `&self[a..b]`.
- Be specific in that start <= end and end <= len
Cf. rust-lang#26264

Signed-off-by: NODA, Kai <nodakai@gmail.com>
L26: "zero cost" -> "zero-cost"
Clarify the semantics of enum discriminants

cf. https://doc.rust-lang.org/error-index.html#E0082

> The default type for enum discriminants is isize, but it can be adjusted by adding the repr attribute to the enum declaration.

It would be great if anyone could check my English.
…, r=nikomatsakis

reference.md: clarify the limitation of type alias on an enum

Tentatively define the current behavior as the specification.

Cf. rust-lang#26264, rust-lang#28556, rust-lang#30936
…crichton

Fix typos - mismatching parentheses in comments

Fixes mismatching parentheses in the comments of precision example.

r? @steveklabnik
…bnik

Update syntax index with OpAssign traits

book: Update syntax index with OpAssign traits

The traits are stable from Rust 1.8.
…chton

Clarify documentation for string slicing (Index impls)

Clarify documentation for string slicing (Index impls)

- Mention the sugared syntax for the implementations, since it's not
  apparent from the docs that `Index<Range<usize>>` corresponds to
  `&self[a..b]`.
- Be specific in that start <= end and end <= len

This is just one fix in response to rust-lang#32057
Fixed link in ownership documentation

Changed "[vector]" to a link to the vector documentation.
Update a spelling inconsistency

L26: "zero cost" -> "zero-cost"
@steveklabnik
Copy link
Member Author

@bors: r+ p=1

@bors
Copy link
Contributor

bors commented Mar 8, 2016

📌 Commit 33fe4d1 has been approved by steveklabnik

@bors
Copy link
Contributor

bors commented Mar 9, 2016

⌛ Testing commit 33fe4d1 with merge 567937d...

bors added a commit that referenced this pull request Mar 9, 2016
Rollup of 7 pull requests

- Successful merges: #31772, #32083, #32084, #32092, #32099, #32103, #32115
- Failed merges:
@bors bors merged commit 33fe4d1 into rust-lang:master Mar 9, 2016
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants