Devices for correcting deformities of the nails