Skip to content

Commit a0799c6

Browse files
authored
chore: runtask deprecated (#5074)
1 parent 2c6cdcc commit a0799c6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/topics/native/native-app-with-c-and-libcurl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ the same as the C version. All the calls you'd expect in the libcurl library are
220220
You can see the actual output because the call `curl_easy_perform` prints the result to the standard output. You could
221221
hide this using `curl_easy_setopt`.
222222
223-
> You can get the full project code in our [GitHub repository](https://github.com/Kotlin/kotlin-hands-on-intro-kotlin-native).
223+
> You can get the full project code in our [GitHub repository](https://github.com/kotlin-hands-on/intro-kotlin-native).
224224
>
225225
{style="note"}
226226

docs/topics/native/native-get-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ Let's add a feature to your application so it can count the number of letters in
110110
binaries {
111111
executable {
112112
entryPoint = "main"
113-
runTask?.standardInput = System.`in`
113+
runTaskProvider?.configure { standardInput = System.`in` }
114114
}
115115
}
116116
}
117117
//...
118118
}
119119
```
120-
{initial-collapse-state="collapsed" collapsible="true" collapsed-title="runTask?.standardInput = System.`in`"}
120+
{initial-collapse-state="collapsed" collapsible="true" collapsed-title="runTaskProvider?.configure { standardInput = System.`in` }"}
121121

122122
3. Eliminate the whitespaces and count the letters:
123123

0 commit comments

Comments
 (0)