Well, the closure has a type. Just you cannot declare it. That's why you do "impl Fn" instead. Because you know that whatever type the close is, it implements the "Fn" trait.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments