mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
7 lines
199 B
Rust
7 lines
199 B
Rust
|
// @!has cfg_doctest/struct.SomeStruct.html
|
||
|
// @!has cfg_doctest/index.html '//a/@href' 'struct.SomeStruct.html'
|
||
|
|
||
|
/// Sneaky, this isn't actually part of docs.
|
||
|
#[cfg(doctest)]
|
||
|
pub struct SomeStruct;
|