Function try_for_each_mut

Source
pub fn try_for_each_mut<'l, T, E>(
    items: &'l mut [T],
    f: impl Fn(&'l mut T) -> Result<(), E> + Send + Sync,
) -> Result<(), E>
where T: Send + Sync, E: Send + 'static,