rustdoc: show default type parameters in generics

fix #12291