I can has RTFM! #2408
Closed
HologramOfMe
started this conversation in
Show and tell
I can has RTFM!
#2408
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I know it must have happened before. Surely it's happened before. BUT maybe for the first time while playing with Rust, I solved a challenge by RTFM. This is a step in the right direction.
It was on "11_hashmaps". I got successfully through the second but after comparing what I'd done with the given solution, I saw that I had really taken the long route due to my lack of awareness of available methods. As a result of that, on the third exercise, I found myself flicking through HashMap methods a bit more to see what was there when I happened upon
.and_modify().This is what I came up with.
It's not quite as slick as the given solution to that challenge. But the point here is, I Read The F'n Manual. And it paid off.
Beta Was this translation helpful? Give feedback.
All reactions