chore: fix clippy check failure (#1569)

This commit is contained in:
Taiki Endo
2019-09-18 10:19:44 -07:00
committed by Carl Lerche
parent ab785bfba7
commit e2161502ad
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ impl Task {
/// scheduled again.
///
// tracing macro expansion adds enough branches to make clippy angry here.
#[allow(clippy::cognitive_complexity)]
#[allow(clippy::cognitive_complexity)] // https://github.com/rust-lang/rust-clippy/issues/3900
pub(crate) fn run(me: &Arc<Task>, pool: &Arc<Pool>) -> Run {
use self::State::*;
#[cfg(feature = "tracing")]