pub fn has_iter_method(
cx: &LateContext<'_>,
probably_ref_ty: Ty<'_>,
) -> Option<Symbol>
Expand description
If ty
is known to have a iter
or iter_mut
method, returns a symbol representing the type.
pub fn has_iter_method(
cx: &LateContext<'_>,
probably_ref_ty: Ty<'_>,
) -> Option<Symbol>
If ty
is known to have a iter
or iter_mut
method, returns a symbol representing the type.