mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-02 05:55:42 +00:00
cfg(not(doc)) from doctests (#922)
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.
Description
Empowering everyone to build reliable and efficient software.
1.4 GiB
Languages
Rust
96%
Shell
0.9%
JavaScript
0.7%
C
0.4%
Python
0.4%
Other
1.5%