From 30728b1c3e1be98f0c285e4294103b4aea3d18aa Mon Sep 17 00:00:00 2001 From: yeastplume Date: Thu, 12 Sep 2024 17:54:48 +0000 Subject: [PATCH] move dead code tag to function defn rather than module --- chain/tests/chain_test_helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/tests/chain_test_helper.rs b/chain/tests/chain_test_helper.rs index 80ce27332..2776414f6 100644 --- a/chain/tests/chain_test_helper.rs +++ b/chain/tests/chain_test_helper.rs @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#![allow(dead_code)] use self::chain::types::NoopAdapter; use self::chain::types::Options; @@ -30,6 +29,7 @@ use grin_keychain as keychain; use std::fs; use std::sync::Arc; +#[allow(dead_code)] #[cfg(test)] pub fn clean_output_dir(dir_name: &str) { let _ = fs::remove_dir_all(dir_name);