diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/di_container/asynchronous/binding/builder.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/di_container/asynchronous/binding/builder.rs b/src/di_container/asynchronous/binding/builder.rs index 306d196..9fa5115 100644 --- a/src/di_container/asynchronous/binding/builder.rs +++ b/src/di_container/asynchronous/binding/builder.rs @@ -238,7 +238,7 @@ where      /// #      /// # impl Foo for Bar {}      /// # -    /// # #[factory(async = true)] +    /// # #[factory]      /// # type FooFactory = dyn Fn(i32, String) -> BoxFuture<      /// #   'static,      /// #   TransientPtr<dyn Foo> @@ -602,7 +602,7 @@ mod tests          use crate::{self as syrette, factory};          #[rustfmt::skip] -        #[factory(async = true)] +        #[factory]          type IUserManagerFactory = dyn Fn(String) -> BoxFuture<              'static,              TransientPtr<dyn subjects_async::IUserManager> | 
