Was rubbing my leg and noticed a dent in my shin bone? Not bumped or ever injured it so was just wondering why or how its there?

Totally Normal. There is very little padding to the shin bone so it is very vulnerable to injury. Very likely you banged it up plenty as a little kid perhaps bike riding or smk=cking it against playground equiptment. That's enough to put dents in the bone that last a lifetime.