Closed intendednull closed 11 months ago
Previously the returned value of reduce_mut was dropped. Now that value is returned to the caller:
let previous_count = dispatch.reduce_mut(|state| { let previous_count = state.count; state.count += 1; previous_count });
Previously the returned value of reduce_mut was dropped. Now that value is returned to the caller: