I've seen a few videos on cola being used to remove rust, I've tried it myself too so I know that it works.
Now the thing that's bothering me is that this apparently contradicts what I've learnt about corrosion in class. If I'm not wrong, cola contains phosphoric acid, and therefore would most probably have free H+ ions floating around in there. I've been taught that H+ promotes (catalysis) the rusting of iron.
Then how come coke removes rust instead of promoting its formation? Also, why doesn't coke form rust on iron?