10 ms·
You're right, and I was being imprecise. All closure and "function item" types are unnameable; only function pointer types can be named, for example `fn(int) ->
by GrantMoyer 2y ago
You're right, and I was being imprecise. All closure and "function item" types are unnameable; only function pointer types can be named, for example `fn(int) -> int`[1].
[1]: https://doc.rust-lang.org/reference/types/function-item.html https://doc.rust-lang.org/reference/types/function-item.html