While_let example doesn't work
jsedivec opened this issue · 1 comments
jsedivec commented
There is something wrong with the second example in the official docu for while let
construct. When the code is run, following compiler error occurs:
The code is correct, since it is working on my local machine.
linuxholic commented
I guess editable rust code block need to have explicit fn main()
wrapping block ?