From de76e552cbaadc2cd50bb7ede9a72c31631c5566 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Wed, 23 Jun 2021 10:37:38 -0700 Subject: [PATCH] chore: fix new clippy warnings (#1444) This fixes a handful of new clippy lints. Should fix CI. Signed-off-by: Eliza Weisman --- tracing-subscriber/src/layer.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tracing-subscriber/src/layer.rs b/tracing-subscriber/src/layer.rs index aa996aaed3..39b5679972 100644 --- a/tracing-subscriber/src/layer.rs +++ b/tracing-subscriber/src/layer.rs @@ -90,8 +90,7 @@ use std::{any::TypeId, marker::PhantomData}; /// /// Multiple `Layer`s may be composed in the same manner: /// ```rust -/// # use tracing_subscriber::Layer; -/// # use tracing_subscriber::prelude::*; +/// # use tracing_subscriber::{Layer, SubscriberExt}; /// # use tracing::Subscriber; /// pub struct MyOtherLayer { /// // ...