From afb715cc69657028506ba9e8d95c2bc1a04f2729 Mon Sep 17 00:00:00 2001 From: studyingegret <110317665+studyingegret@users.noreply.github.com> Date: Wed, 31 Dec 2025 23:57:16 +0800 Subject: [PATCH] Delete dead test_mod! branch The tests passed after the deletion. --- src/lib.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 3644d4b..6070784 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -630,21 +630,6 @@ mod test { $($more_tests)* } }; - ( - $test_mod_name:ident, - trait $base_trait:path { $($base_impl:tt)* }, - non_sync: { $($non_sync_def:tt)+ }, - sync: { $($sync_def:tt)+ } - ) => { - test_mod! { - $test_mod_name, - trait $base_trait { $($base_impl:tt)* }, - type $base_trait, - non_sync: { $($non_sync_def)* }, - sync: { $($sync_def)* } - } - }; - } test_mod!(non_generic, trait Base {},