Skip to content

span: improve docs for Span getters#52

Merged
BurntSushi merged 1 commit intomasterfrom
ag/span-get-docs
Jul 27, 2024
Merged

span: improve docs for Span getters#52
BurntSushi merged 1 commit intomasterfrom
ag/span-get-docs

Conversation

@BurntSushi
Copy link
Copy Markdown
Owner

I noticed that at least one person was confused about what it should
return. In particular, the getters on a Span return the individual
units, and not the "total" amount of them in the entire span. This is
different from how "absolute" durations work that don't keep track of
the individual units in the span.

I noticed that at least [one person] was confused about what it should
return. In particular, the getters on a `Span` return the individual
units, and not the "total" amount of them in the entire span. This is
different from how "absolute" durations work that don't keep track of
the individual units in the span.

[one person]: https://lobste.rs/s/rnqlef/named_arguments_rust_if_you_want_them#c_iiap4n
@BurntSushi BurntSushi merged commit 34ef70c into master Jul 27, 2024
@BurntSushi BurntSushi deleted the ag/span-get-docs branch July 27, 2024 13:18
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 this pull request may close these issues.

1 participant