This is a myth!
I’m sure you’ve noticed a brownish or pinkish tint to your peeled potatoes at times; this just means they’ve oxidized. Because of the high starch content, when potatoes are peeled, exposing the starches to air, it causes oxidation.
While they may no longer look appealing, they are PERFECTLY edible and the discoloration usually fades during cooking.
Tanya