Function clippy_utils::ty::ty_sig

source ·
pub fn ty_sig<'tcx>(
    cx: &LateContext<'tcx>,
    ty: Ty<'tcx>
) -> Option<ExprFnSig<'tcx>>
Expand description

If the type is function like, get the signature for it.