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

Align the use of the terms "array", "slice" and "vector" #16015

Closed
omasanori opened this issue Jul 26, 2014 · 1 comment · Fixed by #16825
Closed

Align the use of the terms "array", "slice" and "vector" #16015

omasanori opened this issue Jul 26, 2014 · 1 comment · Fixed by #16825

Comments

@omasanori
Copy link
Contributor

In Syntaxicon, the type [T, ..n] is referred to as an array and &[T] is done as an slice. A huonw's comment in the FromLiteral RFC also refers to [T, ..n] as an array, &[T] as a slice and Vec<T> as a vector.

However, the tutorial and the reference manual don't conform to it. I think it is a problem.

@nixpulvis
Copy link

The documentation at http://doc.rust-lang.org/std/slice/ I find particularly hard to follow.

steveklabnik added a commit to steveklabnik/rust that referenced this issue Sep 7, 2014
lnicola pushed a commit to lnicola/rust that referenced this issue Jan 3, 2024
lnicola pushed a commit to lnicola/rust that referenced this issue Jan 3, 2024
Make functions in impl have a container name

fixes rust-lang#16015
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 a pull request may close this issue.

3 participants