diff options
author | HampusM <hampus@hampusmat.com> | 2022-09-02 18:33:39 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-09-02 18:33:39 +0200 |
commit | 14a91d97c5e2f3184f2b91003ab8e2bc5a92b312 (patch) | |
tree | d8666d0f4491980c8da9feb542ea55bf48fab844 /src | |
parent | 2a0735267d59a212853b91660b446c9473ffc6a2 (diff) |
refactor: rename the factory macro flag 'async' to 'threadsafe'
Diffstat (limited to 'src')
-rw-r--r-- | src/async_di_container.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/async_di_container.rs b/src/async_di_container.rs index 23eb2eb..0e29e4c 100644 --- a/src/async_di_container.rs +++ b/src/async_di_container.rs @@ -1002,7 +1002,7 @@ mod tests use crate as syrette; - #[crate::factory(async = true)] + #[crate::factory(threadsafe = true)] type IUserManagerFactory = dyn crate::interfaces::factory::IFactory<(Vec<i128>,), dyn IUserManager>; @@ -1091,7 +1091,7 @@ mod tests use crate as syrette; - #[crate::factory(async = true)] + #[crate::factory(threadsafe = true)] type IUserManagerFactory = dyn crate::interfaces::factory::IFactory<(Vec<i128>,), dyn IUserManager>; |