aboutsummaryrefslogtreecommitdiff
path: root/src/di_container.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/di_container.rs')
-rw-r--r--src/di_container.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/di_container.rs b/src/di_container.rs
index 7743be8..4d43e8a 100644
--- a/src/di_container.rs
+++ b/src/di_container.rs
@@ -494,8 +494,8 @@ impl DIContainer
/// # Errors
/// Will return `Err` if:
/// - No binding for `Interface` exists
- /// - Resolving the binding for fails
- /// - Casting the binding for fails
+ /// - Resolving the binding for `Interface` fails
+ /// - Casting the binding for `Interface` fails
pub fn get<Interface>(self: &Rc<Self>) -> Result<SomePtr<Interface>, DIContainerError>
where
Interface: 'static + ?Sized,
@@ -508,8 +508,8 @@ impl DIContainer
/// # Errors
/// Will return `Err` if:
/// - No binding for `Interface` with name `name` exists
- /// - Resolving the binding fails
- /// - Casting the binding for fails
+ /// - Resolving the binding for `Interface` fails
+ /// - Casting the binding for `Interface` fails
pub fn get_named<Interface>(
self: &Rc<Self>,
name: &'static str,