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

fix: align EnvFilter::try_new with its documentation #3011

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wyfo
Copy link
Contributor

@wyfo wyfo commented Jun 19, 2024

EnvFilter::try_new documentation is clearly missleading. However, the documentation is aligned with EnvFilter::new behavior (and documentation). So I assume the fix must be to align EnvFilter::try_new code with its documentation, and not the opposite. I also renamed the parameter to align it with EnvFilter::new.

`EnvFilter::try_new` documentation is clearly missleading. However, the
documentation is aligned with `EnvFilter::new` behavior (and documentation).
So I assume the fix must be to align `EnvFilter::try_new` code with its
documentation, and not the opposite.
I also renamed the parameter to align it with `EnvFilter::new`.
@wyfo wyfo requested review from hawkw, davidbarsky and a team as code owners June 19, 2024 09:22
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