Skip to content

Rollup of 7 pull requests - #32126

Merged
bors merged 14 commits into
rust-lang:masterfrom
steveklabnik:rollup
Mar 9, 2016
Merged

Rollup of 7 pull requests#32126
bors merged 14 commits into
rust-lang:masterfrom
steveklabnik:rollup

Conversation

nodakaiand 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
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
Copy Markdown
ContributorAuthor

@bors: r+ p=1

@bors

bors commented Mar 8, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 33fe4d1 has been approved by steveklabnik

@bors

bors commented Mar 9, 2016

Copy link
Copy Markdown
Collaborator

⌛ 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:masterMar 9, 2016
@CentrilCentril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@steveklabnik@bors@Centril@nodakai@bluss@timmontague@tclfs