aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-23 18:36:13 +0200
committerHampusM <hampus@hampusmat.com>2022-10-23 18:36:23 +0200
commit8f1ba53c2bc0db1eade9487ce7ca855eca05a85f (patch)
tree9d3e593cc29e10f9ffae815135b5a7b6c4e4dbca
parent148617696c37a281c046f2e574bb9304ab527733 (diff)
docs: fix the example usage in the readme
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index b71d6e3..614b7a0 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,8 @@ The goal of Syrette is to be a simple, useful, convenient and familiar DI librar
```rust
use std::error::Error;
-use syrette::{injectable, DIContainer};
+use syrette::injectable;
+use syrette::di_container::blocking::prelude::*;
use syrette::ptr::TransientPtr;
trait IWeapon