mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
17 lines
377 B
Rust
17 lines
377 B
Rust
// issue #34843: rustdoc prioritises documenting reexports from the type namespace
|
|
|
|
mod inner {
|
|
pub mod sync {
|
|
pub struct SomeStruct;
|
|
}
|
|
|
|
pub fn sync() {}
|
|
}
|
|
|
|
// @has namespaces/sync/index.html
|
|
// @has namespaces/fn.sync.html
|
|
// @has namespaces/index.html '//a/@href' 'sync/index.html'
|
|
// @has - '//a/@href' 'fn.sync.html'
|
|
#[doc(inline)]
|
|
pub use inner::sync;
|