diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-04 17:38:00 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-04 17:38:00 +0200 |
commit | b4ddc1e626fbd11d784b442d246ddc5f54c35b51 (patch) | |
tree | b8f87926310b8490fce701d17dcd0a612067034d /src/test_utils.rs | |
parent | e0216c7cbf008f2867ef92955abce28dba27f5e3 (diff) |
refactor!: rename the async flag of the declare_interface macro
BREAKING CHANGE: The flag 'async' of the declare_interface macro has been renamed to 'threadsafe_sharable'. The reason being that the name 'async' was an outright lie. The new name describes exactly what the flag enables
Diffstat (limited to 'src/test_utils.rs')
-rw-r--r-- | src/test_utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_utils.rs b/src/test_utils.rs index 97fe620..6b351cc 100644 --- a/src/test_utils.rs +++ b/src/test_utils.rs @@ -257,7 +257,7 @@ pub mod subjects_async } } - declare_interface!(Number -> INumber, async = true); + declare_interface!(Number -> INumber, threadsafe_sharable = true); #[async_trait] impl<DIContainerType, DependencyHistoryType> |