From 0c88fb9a9ac032ade515b54fca465ec8a9dd996b Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Tue, 11 Oct 2016 23:52:40 +0300 Subject: [PATCH] Fix typo in readme --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 397891d8..20028864 100644 --- a/README.rst +++ b/README.rst @@ -72,7 +72,7 @@ Dependency injection pattern has few strict rules that should be followed: of injecting its dependencies - the *service(s)*. + The *client* doesn't know how to create the *service*, it knows only interface of the *service*. The *service* doesn't know that it is used by - The *client*. + the *client*. + The *dependency injector* knows how to create the *client* and the *service*, it also knows that the *client* depends on the *service*, and knows how to inject the *service* into the *client*.