Fix doctest errors in rustdoc comments

Mostly this disables doctest for comments that are not actually tests.
Update style unit tests to use atoms

Fixes test bustage from #3316.
Merge pull request #3395 from mbrubeck/doctest

Fix unit test failures. r=jdm