Closed
Description
The text is here:
An example is a generic struct holding a function pointer. In this case, the implementation of Clone cannot be derived, but can be implemented as:
...
However, it's in fact possible to derive:
#[derive(Clone)]
struct Generate<T>(fn() -> T);