You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Optional Values" section in basics.md uses println!("first value {}", first.unwrap()) without explaining why we don't need to dereference first.unwrap()#87
Open
josephrocca opened this issue
May 27, 2019
· 0 comments
The text was updated successfully, but these errors were encountered:
josephrocca
changed the title
"Option Values" section in basics.md uses println!("first value {}", first.unwrap()) without explaining why we don't need to dereference first.unwrap()
"Optional Values" section in basics.md uses println!("first value {}", first.unwrap()) without explaining why we don't need to dereference first.unwrap()May 27, 2019
Title pretty much explains it. I was going to do a pull request but wasn't sure how to explain it (I'm a rust newb).
I found this: https://stackoverflow.com/questions/27852613/why-does-printing-a-pointer-print-the-same-thing-as-printing-the-dereferenced-po?rq=1
The text was updated successfully, but these errors were encountered: