While nail discoloration can be a side effect of cancer treatment, it can also sometimes be an early warning sign of the disease itself. For instance, lung cancer and other internal malignancies can manifest as clubbing of the nails, where the fingertips become enlarged and the nails curve around them. Melanoma, a type of skin cancer, can also present as a dark streak or spot under the nail.