hashmaps2 solution

This commit is contained in:
mo8it
2024-06-24 16:50:03 +02:00
parent 5baa503bfc
commit fbc226a510
3 changed files with 107 additions and 17 deletions
+3 -2
View File
@@ -566,8 +566,9 @@ name = "hashmaps2"
dir = "11_hashmaps"
hint = """
Use the `entry()` and `or_insert()` methods of `HashMap` to achieve this.
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 in The Book:
https://doc.rust-lang.org/stable/book/ch08-03-hash-maps.html#only-inserting-a-value-if-the-key-has-no-value"""
[[exercises]]
name = "hashmaps3"