]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc/description_default.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / rustdoc / description_default.rs
CommitLineData
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`.'
8pub 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`.'
14pub fn foo_fn() {}