]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | #![crate_name = "foo"] |
2 | ||
3 | // @has 'foo/index.html' '//meta[@name="description"]/@content' \ | |
4 | // 'API documentation for the Rust `foo` crate.' | |
5 | ||
6 | // @has 'foo/foo_mod/index.html' '//meta[@name="description"]/@content' \ | |
7 | // 'API documentation for the Rust `foo_mod` mod in crate `foo`.' | |
8 | pub mod foo_mod { | |
9 | pub struct __Thing {} | |
10 | } | |
11 | ||
12 | // @has 'foo/fn.foo_fn.html' '//meta[@name="description"]/@content' \ | |
13 | // 'API documentation for the Rust `foo_fn` fn in crate `foo`.' | |
14 | pub fn foo_fn() {} |