]>
Commit | Line | Data |
---|---|---|
5099ac24 FG |
1 | pub mod wrapper { |
2 | ||
3 | pub struct Test<'a> { | |
4 | data: &'a (), | |
5 | } | |
6 | ||
7 | impl<'a> Test<'a> { | |
8 | pub fn do_test(&self) {} | |
9 | } | |
10 | ||
11 | // @has mod_relative/wrapper/demo/index.html | |
12 | // @has - '//a/@href' '../struct.Test.html#method.do_test' | |
13 | /// [`Test::do_test`] | |
14 | pub mod demo { | |
15 | } | |
16 | ||
17 | } |