Why does Rust require generic type declarations after the "impl" keyword?

Viewed 2498

Defining the methods of generic type requires adding generic types after impl:

struct GenericVal<T>(T,);
impl <T> GenericVal<T> {}

I feel that removing <T> seems OK:

struct GenericVal<T>(T,);
impl GenericVal<T> {}

Is it any special consideration?

1 Answers
Related