Skip to content

Documents should clarify about arrays #17148

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

Closed
nodakai opened this issue Sep 10, 2014 · 0 comments · Fixed by #17154
Closed

Documents should clarify about arrays #17148

nodakai opened this issue Sep 10, 2014 · 0 comments · Fixed by #17154

Comments

@nodakai
Copy link
Contributor

nodakai commented Sep 10, 2014

7.2.8 Vector expressions of the language reference refers to the "vector expression" and 7.2.21 Match expressions refers to the "vector pattern". However 8.1.4 Vector, Array, and Slice types of the language reference and the Rust guide refer to the same thing (at least the former) as an "array". It's odd that a "vector expression" creates an "array" rather than a "vector".

There are also dangling <a href="#vector-types"> in the language reference.

Neither the language reference nor the API reference explains which traits an array implements nor what methods are available for it.

steveklabnik added a commit to steveklabnik/rust that referenced this issue Sep 10, 2014
lnicola pushed a commit to lnicola/rust that referenced this issue May 19, 2024
fix: Tracing span names should match function names

When viewing traces, it's slightly confusing when the span name doesn't match the function name. Ensure the names are consistent.

(It might be worth moving most of these to use `#[tracing::instrument]` so the name can never go stale. `@davidbarsky` suggested that is marginally slower, so I've just done the simple change here.)
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.

1 participant