Repository navigation
rust-course/basic/base-type/function #1662
Replies: 1 comment
|
描述的是否没那么严谨还是我理解错误,我觉得应该是“有返回值的函数都是表达式”,一个函数如果没有返回值它就不是表达式了吧。还是说返回 -> ()也算返回了返回值 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
rust-course/basic/base-type/function
Documentation for 函数
https://beatai.org/rust-course/basic/base-type/function
All reactions