Skip to content

Rollup of 7 pull requests - #32123

Closed
steveklabnik wants to merge 14 commits into
rust-lang:masterfrom
steveklabnik:rollup
Closed

Rollup of 7 pull requests#32123
steveklabnik wants to merge 14 commits into
rust-lang:masterfrom
steveklabnik:rollup

Conversation

frewsxcvand others added 14 commits February 23, 2016 22:31
TRPL seems to refer to 'static functions' as 'associated functions'.
This terminology should be used consistently.
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.
Prefer 'associated function' over 'static method' in msg.
TRPL seems to refer to 'static functions' as 'associated functions'.
This terminology should be used consistently.
…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 c1af8c0 has been approved by steveklabnik

@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 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.

8 participants

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