From d11e42cd8f8d804790cb48dd3bd4a24dc7a2c4cc Mon Sep 17 00:00:00 2001 From: Eh2406 Date: Mon, 6 May 2019 16:12:36 -0400 Subject: [PATCH] nit --- src/cargo/core/resolver/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cargo/core/resolver/mod.rs b/src/cargo/core/resolver/mod.rs index d30561a7b08..f44cfb514cd 100644 --- a/src/cargo/core/resolver/mod.rs +++ b/src/cargo/core/resolver/mod.rs @@ -936,8 +936,7 @@ fn generalize_conflicting( } con.insert(*critical_parent, backtrack_critical_reason); - #[cfg(debug_assertions)] - { + if cfg!(debug_assertions) { // the entire point is to find an older conflict, so let's make sure we did let new_age = con .keys()