diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ mod provider; #[macro_export] macro_rules! di_container_bind { ($interface: path => $implementation: ty, $di_container: ident) => { - $di_container.bind::<dyn $interface>().to::<$implementation>(); + $di_container.bind::<dyn $interface>().to::<$implementation>().unwrap(); syrette::declare_interface!($implementation -> $interface); }; |