]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/table-in-docblock.rs
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[rust.git] / src / test / rustdoc / table-in-docblock.rs
1 #![crate_name = "foo"]
2
3 // @has foo/struct.Foo.html
4 // @count - '//*[@class="docblock"]/div/table' 2
5 // @!has - '//*[@class="docblock"]/table'
6 /// | hello | hello2 |
7 /// | ----- | ------ |
8 /// | data  | data2  |
9 pub struct Foo;
10
11 impl Foo {
12     /// | hello | hello2 |
13     /// | ----- | ------ |
14     /// | data  | data2  |
15     pub fn foo(&self) {}
16 }