mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-09 13:48:00 +00:00

This was changed from `cfg(dox)` to `cfg(doc)` in https://github.com/rust-lang/stdarch/pull/920. `cfg(doc)` is incorrect here; rustdoc sets `cfg(doctest)`, not `cfg(doc)` in doc-tests. However, this piece of code isn't needed anyway: this code will only ever be run as a doc-test, so it will never be compiled in.