Skip to content

Commit 7b10b66

Browse files
authored
Update 2024_12_09_dependency-injection.md
fixes few typos
1 parent 4e07fa7 commit 7b10b66

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

2024_12_09_dependency-injection.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ We will use approaches very close to what sideEffffECt describe in https://www.r
3434

3535
# Basic
3636

37-
We will think that component `C` is provided if we can find AppProvicer[C]]
37+
We will think that component `C` is provided if we can find AppProvider[C]]
3838

3939
```Scala
4040
trait AppContextProvider[T] {
@@ -58,8 +58,9 @@ If we have an implicit instance of the object, we think it's provided:
5858

5959

6060
```Scala
61-
object AppContextProvider extends AppContextProviderLowLevel {
61+
object AppContextProvider {
6262

63+
....
6364

6465
given ofGivem[T](using T): AppContextProvider[T] with {
6566
def get: T = summon[T]

0 commit comments

Comments
 (0)