An accident might have been unavoidable, but fatality is the big question. The risk of pedestrian fatality jumps by ~4x between 30mph and 40mph.[0] So the question is - did the car start breaking as soon as possible?
As an aside, that statistic is why I never speed in pedestrian zones.