You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.)
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.
The text was updated successfully, but these errors were encountered: