Skip to content

Calling follows_from multiple times #2646

Closed Answered by TheNeikos
TheNeikos asked this question in Q&A
Discussion options

You must be logged in to vote

It seems like yes, this is expected to be supported, as the tracing::instrument macro specifically takes an iterator of span (ids).

https://docs.rs/tracing/latest/tracing/attr.instrument.html#examples-2

I'd say that the docs could be maybe adapted to make this more clear for users and implementers?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheNeikos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant