Post
In a language where you can define some Foo trait for behaviors that don't take "self" as a parameter (ex: Foo::do_thing()), it feels pretty wild to me that being generic on that behavior requires anything more than specifying that you want MyType<T: Foo>.
0 reposts4 likes
I've read doc.rust-lang.org/nomicon/phan... and rust-lang.github.io/rfcs/0738-va... Some of the rationale behind not defaulting feels wild to me, given how clunky and common it is in practice. "Phantom type parameters occur relatively rarely anyhow" does not ring true to me.