aboutsummaryrefslogtreecommitdiff
path: root/examples/named
diff options
context:
space:
mode:
Diffstat (limited to 'examples/named')
-rw-r--r--examples/named/bootstrap.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/named/bootstrap.rs b/examples/named/bootstrap.rs
index 5f63b47..f7b66ad 100644
--- a/examples/named/bootstrap.rs
+++ b/examples/named/bootstrap.rs
@@ -1,5 +1,3 @@
-use std::rc::Rc;
-
use anyhow::Result;
use syrette::DIContainer;
@@ -9,7 +7,7 @@ use crate::katana::Katana;
use crate::ninja::Ninja;
use crate::shuriken::Shuriken;
-pub fn bootstrap() -> Result<Rc<DIContainer>>
+pub fn bootstrap() -> Result<DIContainer>
{
let mut di_container = DIContainer::new();