aboutsummaryrefslogtreecommitdiff
path: root/examples/factory
diff options
context:
space:
mode:
Diffstat (limited to 'examples/factory')
-rw-r--r--examples/factory/bootstrap.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/factory/bootstrap.rs b/examples/factory/bootstrap.rs
index 1967c6a..a44ccfb 100644
--- a/examples/factory/bootstrap.rs
+++ b/examples/factory/bootstrap.rs
@@ -18,7 +18,8 @@ pub fn bootstrap() -> DIContainer
TransientPtr::new(User::new(name, date_of_birth, password));
user
- });
+ })
+ .unwrap();
di_container
}