Function clippy_lints::utils::same_tys
[−]
[src]
pub fn same_tys<'a, 'tcx>(
cx: &LateContext<'a, 'tcx>,
a: Ty<'tcx>,
b: Ty<'tcx>
) -> bool
Check if two types are the same.