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

Example in tracing_subscriber/src/fmt/format/mod.rs #1287

Closed
Gore55 opened this issue Mar 9, 2021 · 1 comment
Closed

Example in tracing_subscriber/src/fmt/format/mod.rs #1287

Gore55 opened this issue Mar 9, 2021 · 1 comment

Comments

@Gore55
Copy link

Gore55 commented Mar 9, 2021

The example in the mentioned file uses the trait Collect, but that trait is named Subscriber now.

@Gore55 Gore55 changed the title Example in tracing_subscriber/format/mod.rs Example in tracing_subscriber/src/fmt/format/mod.rs Mar 9, 2021
@Folyd
Copy link
Contributor

Folyd commented Mar 10, 2021

The example in the mentioned file uses the trait Collect, but that trait is named Subscriber now.

No, I think the current example is correct since we renamed the old Subscribe and Layer to Collect and Subscriber respectively. See #922.

@Gore55 Gore55 closed this as completed May 29, 2023
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

No branches or pull requests

2 participants