mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-09-29 02:03:29 +00:00
move input files into exercise directory
This commit is contained in:
committed by
Mo Bitar
parent
b50eafb28f
commit
d0109d68be
@@ -1215,6 +1215,11 @@ Add `AsRef<str>` or `AsMut<u32>` as a trait bound to the functions."""
|
||||
name = "async1"
|
||||
dir = "24_async"
|
||||
test = false
|
||||
input_files = [
|
||||
"scores_class_a.txt",
|
||||
"scores_class_b.txt",
|
||||
"scores_class_c.txt",
|
||||
]
|
||||
hint = """
|
||||
Asynchronous runtimes like tokio can only spawn tasks that are defined as async
|
||||
functions, not regular ones. Add the "async" keyword before the "fn" keyword of
|
||||
@@ -1222,12 +1227,3 @@ the functions "tim", "carl" and "nick".
|
||||
|
||||
An async task can wait for another one to complete by "awaiting" it. Add
|
||||
".await" after the three "task_name" variables in the "block_on" call."""
|
||||
|
||||
[[input_files]]
|
||||
name = "scores_class_a.txt"
|
||||
|
||||
[[input_files]]
|
||||
name = "scores_class_b.txt"
|
||||
|
||||
[[input_files]]
|
||||
name = "scores_class_c.txt"
|
||||
|
||||
Reference in New Issue
Block a user