Function clippy_utils::ty::has_iter_method
source · pub fn has_iter_method(
cx: &LateContext<'_>,
probably_ref_ty: Ty<'_>
) -> Option<Symbol>
Expand description
Returns true if ty has iter
or iter_mut
methods
pub fn has_iter_method(
cx: &LateContext<'_>,
probably_ref_ty: Ty<'_>
) -> Option<Symbol>
Returns true if ty has iter
or iter_mut
methods