Countless critters will have lived, procreated and defecated on anything you find in nature, that’s how nature works.
The things that don’t get edible after a rinse and/or cook are the things we call poisonous :P
As to traffic and road pollution, I actually checked with our national agricultural university how careful you should be, and they basically said: “maybe don’t pick the closest 30 cm, but beyond that a rinse is plenty”.