Skip to content

Commit d911630

Browse files
Tamschihawkw
authored andcommitted
flame: remove unused imports from README example (#1836)
## Motivation While writing a component tracing example, I noticed that these imports were giving me `unused_imports` warnings. It seems they aren't necessary anymore. ## Solution I removed the unused imports in this example.
1 parent 8418e53 commit d911630

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tracing-flame/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ of the `FlameLayer`, see the docs for [`FlushGuard`].
4848
## Layer Setup
4949

5050
```rust
51-
use std::{fs::File, io::BufWriter};
5251
use tracing_flame::FlameLayer;
53-
use tracing_subscriber::{registry::Registry, prelude::*, fmt};
52+
use tracing_subscriber::{prelude::*, fmt};
5453

5554
fn setup_global_subscriber() -> impl Drop {
5655
let fmt_layer = fmt::Layer::default();

0 commit comments

Comments
 (0)