In #Rust, `struct S<T>` yields a compiler error, but `fn f<T>() {}` does not even yield a warning. Why not?
#rustlang
Ben Pfaff
@blp@framapiaf.org
GNU PSPP maintainer. RenFaire enthusiast. D&D player. Against fascism and tyranny. He/him.
framapiaf.org
0
1
0
Conversation (1)
Showing 0 of 1 cached locally.
Syncing comments from the remote thread. 1 more reply is still loading.
Loading comments...