Function kitsune_p2p_types::combinators::first
source · [−]pub fn first<A, B>(tup: (A, B)) -> A
Expand description
Return the first element of a 2-tuple
pub fn first<A, B>(tup: (A, B)) -> A
Return the first element of a 2-tuple