mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-01 08:19:18 +00:00
📝 change info.toml
This commit is contained in:
parent
f2443ccf5f
commit
4334cfdc3f
@ -1204,3 +1204,21 @@ name = "as_ref_mut"
|
|||||||
dir = "23_conversions"
|
dir = "23_conversions"
|
||||||
hint = """
|
hint = """
|
||||||
Add `AsRef<str>` or `AsMut<u32>` as a trait bound to the functions."""
|
Add `AsRef<str>` or `AsMut<u32>` as a trait bound to the functions."""
|
||||||
|
|
||||||
|
[[exercises]]
|
||||||
|
name = "async1"
|
||||||
|
dir = "24_async"
|
||||||
|
hint = """
|
||||||
|
Use `.await` to collect the results of all tasks into the `results` vector."""
|
||||||
|
|
||||||
|
[[exercises]]
|
||||||
|
name = "async2"
|
||||||
|
dir = "24_async"
|
||||||
|
hint = """
|
||||||
|
Synchronous version of a function that simulates a long-running operation"""
|
||||||
|
|
||||||
|
[[exercises]]
|
||||||
|
name = "async3"
|
||||||
|
dir = "24_async"
|
||||||
|
hint = """
|
||||||
|
Consider using match or Result combinators like `map_err` or `and_then`."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user