2021-02-21 00:38:41 +00:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
2021-02-21 00:51:41 +00:00
|
|
|
// @has 'foo/index.html' '//meta[@name="description"]/@content' \
|
2021-02-21 00:50:01 +00:00
|
|
|
// 'API documentation for the Rust `foo` crate.'
|
2021-02-21 00:38:41 +00:00
|
|
|
|
2021-02-21 00:51:41 +00:00
|
|
|
// @has 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \
|
2021-02-21 00:50:01 +00:00
|
|
|
// 'API documentation for the Rust `foo_mod` mod in crate `foo`.'
|
2021-02-21 00:38:41 +00:00
|
|
|
pub mod foo_mod {
|
|
|
|
pub struct __Thing {}
|
|
|
|
}
|
|
|
|
|
2021-02-21 00:51:41 +00:00
|
|
|
// @has 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \
|
2021-02-21 00:50:01 +00:00
|
|
|
// 'API documentation for the Rust `foo_fn` fn in crate `foo`.'
|
2021-02-21 00:38:41 +00:00
|
|
|
pub fn foo_fn() {}
|