aboutsummaryrefslogtreecommitdiff
path: root/src/async_di_container.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-02 19:48:24 +0200
committerHampusM <hampus@hampusmat.com>2022-10-02 19:48:24 +0200
commit6dc7ed9c0c5de55621fb5625cdf08d93d1ca0f51 (patch)
tree3056f09f3e97cce0129cef2ade14bbf7b4db654c /src/async_di_container.rs
parentd8525f169649e4ce7e806e68de5e328135755326 (diff)
docs: fix spelling mistakes in blocking & async DI containers
Diffstat (limited to 'src/async_di_container.rs')
-rw-r--r--src/async_di_container.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/async_di_container.rs b/src/async_di_container.rs
index 881f64c..ab74b4c 100644
--- a/src/async_di_container.rs
+++ b/src/async_di_container.rs
@@ -656,8 +656,8 @@ impl AsyncDIContainer
/// # 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 async fn get<Interface>(
self: &Arc<Self>,
) -> Result<SomeThreadsafePtr<Interface>, AsyncDIContainerError>
@@ -672,8 +672,8 @@ impl AsyncDIContainer
/// # 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 async fn get_named<Interface>(
self: &Arc<Self>,
name: &'static str,