As I scroll down I see Chris beat me to the reply.
I see old 10/2 all the times used for dryers. This was NEVER code legal NOR was it ever safe!!!!
Folks who used 10/2 for dryers simply did not know, or care to know, the code.