Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
14
tests/rustdoc/external-doc.rs
Normal file
14
tests/rustdoc/external-doc.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
// @has external_doc/struct.IncludeStrDocs.html
|
||||
// @has - '//h2' 'External Docs'
|
||||
// @has - '//h3' 'Inline Docs'
|
||||
#[doc = include_str!("auxiliary/external-doc.md")]
|
||||
/// ## Inline Docs
|
||||
pub struct IncludeStrDocs;
|
||||
|
||||
macro_rules! dir { () => { "auxiliary" } }
|
||||
|
||||
// @has external_doc/struct.EagerExpansion.html
|
||||
// @has - '//h2' 'External Docs'
|
||||
#[doc = include_str!(concat!(dir!(), "/external-doc.md"))]
|
||||
/// ## Inline Docs
|
||||
pub struct EagerExpansion;
|
Loading…
Add table
Add a link
Reference in a new issue