Differences in Type inference for closures and functions in rust -


Not for any function in the rig, while it is possible to estimate the type of logic and return type for the closing expression?

Functions are global - their type of signature should be clear in this way.

The clogs inside the function are local - they can be guessed (of course, if you are accumulating the closures in a strat, then its type is clear in the definition of the type of strat Need to be specified in the form.)


Comments

Popular posts from this blog

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -