TIL: in #Rust, ? can be used for Option or Result https://blog.rust-lang.org/2017/11/22/Rust-1.22.html … -- or maybe I read it somewhere and forgot, super hard to lookup operators that are symbols!
-
Show this thread
-
Replying to @jcsvveiga
well... the book is a bit misleading "The ? Operator Can Only Be Used in Functions That Return Result" -- maybe the example errors are auto-generated and text not updated?pic.twitter.com/AcMGJlXfgr
1 reply 0 retweets 0 likes -
Replying to @ultrasaurus @jcsvveiga
Would be really nice if the rust book template had a button to report errors... or maybe
@rustlang people are worried about getting too many newbie questions2 replies 0 retweets 0 likes
Replying to @ultrasaurus @jcsvveiga
We’re happy to get newbie questions, we just haven’t configured mdbook properly to add the button. Maybe we should though! I believe we mention the repo in the introduction...
1:21 PM - 25 Nov 2019
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.