8 pub fn foo(&mut self) {}
11 // @has foo/struct.Bar.html
12 // @has - '//div[@class="sidebar-links"]/a[@href="#method.foo"]' 'foo'
17 impl ops::Deref for Bar {
20 fn deref(&self) -> &Foo {
25 impl ops::DerefMut for Bar {
26 fn deref_mut(&mut self) -> &mut Foo {