Orhun Parmaksız 👾 on Nostr: Answer: 0231 🦀 0 gets dropped at the end of its statement. 1 will last to the end ...
Answer: 0231 🦀
0 gets dropped at the end of its statement.
1 will last to the end of the main scope.
2 is assigned to the underscore pattern making it temporary, and gets dropped at the end of the statement.
3 is treated as a value; the underscore prefix allows the unused… https://twitter.com/i/web/status/1666867204002807820
QT orhunp_: 🦀 #rustlang quiz
what is the output of this program?
0 gets dropped at the end of its statement.
1 will last to the end of the main scope.
2 is assigned to the underscore pattern making it temporary, and gets dropped at the end of the statement.
3 is treated as a value; the underscore prefix allows the unused… https://twitter.com/i/web/status/1666867204002807820
QT orhunp_: 🦀 #rustlang quiz
what is the output of this program?