mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 21:29:18 +00:00
Fix: Spelling mistake in Hash-maps 3 hint 🦀
This commit is contained in:
parent
09dc7058c9
commit
e6f9becab7
@ -517,7 +517,7 @@ name = "hashmaps3"
|
|||||||
path = "exercises/hashmaps/hashmaps3.rs"
|
path = "exercises/hashmaps/hashmaps3.rs"
|
||||||
mode = "test"
|
mode = "test"
|
||||||
hint = """
|
hint = """
|
||||||
Hint 1: Use the `entry()` and `or_insert()` methods of `HashMap` to insert entries corresponding to each team in the scores table.
|
Hint 1: Use the `entry()` and or `insert()` methods of `HashMap` to insert entries corresponding to each team in the scores table.
|
||||||
Learn more at https://doc.rust-lang.org/stable/book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value
|
Learn more at https://doc.rust-lang.org/stable/book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value
|
||||||
Hint 2: If there is already an entry for a given key, the value returned by `entry()` can be updated based on the existing value.
|
Hint 2: If there is already an entry for a given key, the value returned by `entry()` can be updated based on the existing value.
|
||||||
Learn more at https://doc.rust-lang.org/book/ch08-03-hash-maps.html#updating-a-value-based-on-the-old-value
|
Learn more at https://doc.rust-lang.org/book/ch08-03-hash-maps.html#updating-a-value-based-on-the-old-value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user