Skip to content

Commit 166990c

Browse files
committed
...
1 parent 9202e95 commit 166990c

File tree

1 file changed

+2
-1
lines changed
  • core/src/commonMain/kotlin/injekt

1 file changed

+2
-1
lines changed

core/src/commonMain/kotlin/injekt/Api.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ import kotlin.annotation.AnnotationTarget.*
3737
annotation class Provide
3838

3939
/**
40-
* Marks the parameter as injectable
40+
* Marks the parameter as injectable if used as default value
4141
* If no explicit parameter is passed injekt will fill in the parameter at each call site
42+
* see [create]
4243
*/
4344
val inject: Nothing = throw IllegalStateException("injekt compiler intrinsic")
4445

0 commit comments

Comments
 (0)