Skip to content

Commit

Permalink
fix generic type in bindFactory (#429)
Browse files Browse the repository at this point in the history
Co-authored-by: Benoit Liessens <[email protected]>
  • Loading branch information
bliessens and Benoit Liessens authored Feb 9, 2023
1 parent fa4110e commit 702d8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/modules/core/pages/bindings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ val di = DI {
}
----

TIP: Ending with the same result, you can also use the simple function `bindFactory<Int, DataSource> { sides: Int -> RandomDice(sides) }`.
TIP: Ending with the same result, you can also use the simple function `bindFactory<Int, Dice> { sides: Int -> RandomDice(sides) }`.

[[multi-argument-factories]]
=== Multi-arguments factories
Expand Down

0 comments on commit 702d8aa

Please sign in to comment.