Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

span: improve docs for Span getters #52

Merged
merged 1 commit into from
Jul 27, 2024
Merged

span: improve docs for Span getters #52

merged 1 commit into from
Jul 27, 2024

Conversation

BurntSushi
Copy link
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
14 checks passed
@BurntSushi BurntSushi deleted the ag/span-get-docs branch July 27, 2024 13:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant