Skip to content

Commit 99e7f27

Browse files
committed
core: derive Default for NoCollector (#1785)
* core: derive `Default` for `NoCollector` * additional clippy nonsense Signed-off-by: Eliza Weisman <[email protected]>
1 parent 37dd332 commit 99e7f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracing-core/src/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ impl Interest {
552552
///
553553
/// [`NoCollector`] implements the [`Collect`] trait by never being enabled,
554554
/// never being interested in any callsite, and drops all spans and events.
555-
#[derive(Debug, Copy, Clone)]
555+
#[derive(Debug, Default, Copy, Clone)]
556556
pub struct NoCollector(());
557557

558558
impl Default for NoCollector {

0 commit comments

Comments
 (0)