I don't want to muddy the waters, but sometimes a general practice doctor will biopsy a growth that a dermatologist will tell you there's nothing to worry about. They do it just to be safe.
A dermatologist did it and is the one that said it is a melanoma.