[][src]Function show_notes::e008::a_generic

pub fn a_generic<T>(_t: T)

Demonstrate a function generic over any type.

This uses a cross-language convention for generics, where T represents the generic type. If we have more than one generic type, it's traditional to represent it with following letters, after T: U, V, W, etc. (If you have four different generic parameters, I'm probably going to look askance at your API design, though, to be honest.)