mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
13 lines
228 B
Rust
13 lines
228 B
Rust
|
#![crate_name = "foo"]
|
||
|
|
||
|
// @!has 'foo/sys/index.html'
|
||
|
// @!has 'foo/sys/sidebar-items.js'
|
||
|
#[doc(hidden)]
|
||
|
pub mod sys {
|
||
|
extern "C" {
|
||
|
// @!has 'foo/sys/fn.foo.html'
|
||
|
#[doc(hidden)]
|
||
|
pub fn foo();
|
||
|
}
|
||
|
}
|