]>
git.proxmox.com Git - rustc.git/blob - src/test/rustdoc/issue-89309-heading-levels.rs
3 // @has foo/trait.Read.html
4 // @has - '//h2' 'Trait examples'
7 // @has - '//h5' 'Function examples'
8 /// # Function examples
9 fn read(&mut self, buf
: &mut [u8]) -> Result
<usize, ()>;
14 // @has foo/struct.Foo.html
16 // @has - '//h5' 'Implementation header'
17 /// # Implementation header
18 pub fn bar(&self) -> usize {
24 // @has - '//h5' 'Trait implementation header'
25 /// # Trait implementation header
26 fn read(&mut self, buf
: &mut [u8]) -> Result
<usize, ()> {