2021-09-08 08:09:47 -05:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
// @has foo/struct.Foo.html
|
|
|
|
// @count - '//*[@class="docblock"]/div/table' 2
|
2022-08-12 23:56:16 -05:00
|
|
|
// @!has - '//*[@class="docblock"]/table' ''
|
2021-09-08 08:09:47 -05:00
|
|
|
/// | hello | hello2 |
|
|
|
|
/// | ----- | ------ |
|
|
|
|
/// | data | data2 |
|
|
|
|
pub struct Foo;
|
|
|
|
|
|
|
|
impl Foo {
|
|
|
|
/// | hello | hello2 |
|
|
|
|
/// | ----- | ------ |
|
|
|
|
/// | data | data2 |
|
|
|
|
pub fn foo(&self) {}
|
|
|
|
}
|