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.
pub fn ty_sig<'tcx>(
cx: &LateContext<'tcx>,
ty: Ty<'tcx>,
) -> Option<ExprFnSig<'tcx>>
If the type is function like, get the signature for it.