mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
Update hint for as_ref_mut
This commit is contained in:
parent
259b434f20
commit
ccba0ca7e3
@ -1160,4 +1160,6 @@ name = "as_ref_mut"
|
||||
path = "exercises/conversions/as_ref_mut.rs"
|
||||
mode = "test"
|
||||
hint = """
|
||||
Add AsRef<str> as a trait bound to the functions."""
|
||||
Hint 1: Add AsRef<str> as a trait bound to the functions.
|
||||
Hint 2: This function doesn't need to return anything as it's holding a mutable
|
||||
reference, but consider the data type you'd want it to hold."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user