Right, so you can't "enforce" a return from the function.
0xDEADBEEFCAFE
joined 2 years ago
shouldn’t Rust enforce returning from function
How do you enforce returning from exit or a function with a loop that never terminates?
You're kidding yourself if you think most people in this thread are actually programmers. Most people here wouldn't know the difference between C and Rust code if they saw it, let alone be able to write anything in either language.
Everything Herb Sutter says about the popularity of C++ should be taken with a huge grain of salt.