about summary refs log tree commit diff
path: root/src/test/rustdoc/mod-title.rs
blob: 6b7f67d17ab3aae3efe15ca4d9fa4f6616d41cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![crate_name = "foo"]

// @has foo/bar/index.html '//head/title' 'foo::bar - Rust'
/// blah
pub mod bar {
    pub fn a() {}
}

// @has foo/baz/index.html '//head/title' 'foo::baz - Rust'
pub mod baz {
    pub fn a() {}
}