Dogs are so smart.

This little guy wasn't looking and was moments away from getting hit by a car before his friend sped up to pick him up to safety.

Take a look at this Border Collie saving his Chihuahua friend.