Skip to content
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

Remove #[must_use] from set_tracer_provider #501

Merged
merged 2 commits into from Mar 29, 2021

Conversation

LukeMathWalker
Copy link
Contributor

I believe #[must_use] here is a legacy leftover from the previous version of opentelemetry, where set_tracer_provider returned a guard.
I have updated the documentation as well to clarify what is being returned.

Luca Palmieri added 2 commits March 29, 2021 16:57
@LukeMathWalker LukeMathWalker requested a review from a team as a code owner March 29, 2021 16:01
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 29, 2021

CLA Signed

The committers are authorized under a signed CLA.

Copy link
Member

@jtescher jtescher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@jtescher jtescher merged commit 88bffef into open-telemetry:main Mar 29, 2021
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.

None yet

2 participants