diff options
author | HampusM <hampus@hampusmat.com> | 2022-10-23 18:36:13 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-10-23 18:36:23 +0200 |
commit | 8f1ba53c2bc0db1eade9487ce7ca855eca05a85f (patch) | |
tree | 9d3e593cc29e10f9ffae815135b5a7b6c4e4dbca /README.md | |
parent | 148617696c37a281c046f2e574bb9304ab527733 (diff) |
docs: fix the example usage in the readme
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |