diff options
Diffstat (limited to 'examples/with-3rd-party/ninja.rs')
-rw-r--r-- | examples/with-3rd-party/ninja.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/with-3rd-party/ninja.rs b/examples/with-3rd-party/ninja.rs index 945adf0..5b80b36 100644 --- a/examples/with-3rd-party/ninja.rs +++ b/examples/with-3rd-party/ninja.rs @@ -1,17 +1,17 @@ use syrette::{injectable, ptr::TransientPtr}; -use third_party_lib::IShuriken; +use third_party_lib::Shuriken; use crate::interfaces::ninja::INinja; pub struct Ninja { - shuriken: TransientPtr<dyn IShuriken>, + shuriken: TransientPtr<Shuriken>, } #[injectable(INinja)] impl Ninja { - pub fn new(shuriken: TransientPtr<dyn IShuriken>) -> Self + pub fn new(shuriken: TransientPtr<Shuriken>) -> Self { Self { shuriken } } |