Most often, if a bolt is rusted and breaks, it was going to break no matter what you do. The impact knocks off the rust, making it easier to get the bolt out, but sometimes the head breaks off too. However, using a breaker bar would have probably caused the same outcome.