1
Fork 0

Update rustdoc tests to adapt to changes to the sidebar

This commit is contained in:
Guillaume Gomez 2022-02-08 17:05:00 +01:00 committed by Guillaume Gomez
parent 5136b549c9
commit 0d928b6ed0
17 changed files with 59 additions and 59 deletions

View file

@ -7,7 +7,7 @@ pub struct Bar;
// @has foo/struct.Foo.html '//*[@id="impl-ToString"]//h3[@class="code-header in-band"]' 'impl<T> ToString for T'
pub struct Foo;
// @has foo/struct.Foo.html '//div[@class="sidebar-links"]/a[@href="#impl-ToString"]' 'ToString'
// @has foo/struct.Foo.html '//*[@class="sidebar-elems"]//section//a[@href="#impl-ToString"]' 'ToString'
impl fmt::Display for Foo {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {