rustdoc: remove unused HTML class="item-list"
Since 50f662e99ec372a3c9558876d4164e8665859217, there is no CSS or JS targeting this class.
This commit is contained in:
parent
50f662e99e
commit
0997b28a89
@ -890,7 +890,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
|
|||||||
w,
|
w,
|
||||||
"implementors",
|
"implementors",
|
||||||
"Implementors",
|
"Implementors",
|
||||||
"<div class=\"item-list\" id=\"implementors-list\">",
|
"<div id=\"implementors-list\">",
|
||||||
);
|
);
|
||||||
for implementor in concrete {
|
for implementor in concrete {
|
||||||
render_implementor(cx, implementor, it, w, &implementor_dups, &[]);
|
render_implementor(cx, implementor, it, w, &implementor_dups, &[]);
|
||||||
@ -902,7 +902,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
|
|||||||
w,
|
w,
|
||||||
"synthetic-implementors",
|
"synthetic-implementors",
|
||||||
"Auto implementors",
|
"Auto implementors",
|
||||||
"<div class=\"item-list\" id=\"synthetic-implementors-list\">",
|
"<div id=\"synthetic-implementors-list\">",
|
||||||
);
|
);
|
||||||
for implementor in synthetic {
|
for implementor in synthetic {
|
||||||
render_implementor(
|
render_implementor(
|
||||||
@ -923,7 +923,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
|
|||||||
w,
|
w,
|
||||||
"implementors",
|
"implementors",
|
||||||
"Implementors",
|
"Implementors",
|
||||||
"<div class=\"item-list\" id=\"implementors-list\"></div>",
|
"<div id=\"implementors-list\"></div>",
|
||||||
);
|
);
|
||||||
|
|
||||||
if t.is_auto(cx.tcx()) {
|
if t.is_auto(cx.tcx()) {
|
||||||
@ -931,7 +931,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
|
|||||||
w,
|
w,
|
||||||
"synthetic-implementors",
|
"synthetic-implementors",
|
||||||
"Auto implementors",
|
"Auto implementors",
|
||||||
"<div class=\"item-list\" id=\"synthetic-implementors-list\"></div>",
|
"<div id=\"synthetic-implementors-list\"></div>",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,13 +4,13 @@ pub trait Foo {}
|
|||||||
|
|
||||||
pub struct Bar<T> { field: T }
|
pub struct Bar<T> { field: T }
|
||||||
|
|
||||||
// @has foo/trait.Foo.html '//*[@class="item-list"]//h3[@class="code-header"]' \
|
// @has foo/trait.Foo.html '//*[@id="implementors-list"]//h3[@class="code-header"]' \
|
||||||
// "impl Foo for Bar<u8>"
|
// "impl Foo for Bar<u8>"
|
||||||
impl Foo for Bar<u8> {}
|
impl Foo for Bar<u8> {}
|
||||||
// @has foo/trait.Foo.html '//*[@class="item-list"]//h3[@class="code-header"]' \
|
// @has foo/trait.Foo.html '//*[@id="implementors-list"]//h3[@class="code-header"]' \
|
||||||
// "impl Foo for Bar<u16>"
|
// "impl Foo for Bar<u16>"
|
||||||
impl Foo for Bar<u16> {}
|
impl Foo for Bar<u16> {}
|
||||||
// @has foo/trait.Foo.html '//*[@class="item-list"]//h3[@class="code-header"]' \
|
// @has foo/trait.Foo.html '//*[@id="implementors-list"]//h3[@class="code-header"]' \
|
||||||
// "impl<'a> Foo for &'a Bar<u8>"
|
// "impl<'a> Foo for &'a Bar<u8>"
|
||||||
impl<'a> Foo for &'a Bar<u8> {}
|
impl<'a> Foo for &'a Bar<u8> {}
|
||||||
|
|
||||||
@ -22,9 +22,9 @@ pub mod mod2 {
|
|||||||
pub enum Baz {}
|
pub enum Baz {}
|
||||||
}
|
}
|
||||||
|
|
||||||
// @has foo/trait.Foo.html '//*[@class="item-list"]//h3[@class="code-header"]' \
|
// @has foo/trait.Foo.html '//*[@id="implementors-list"]//h3[@class="code-header"]' \
|
||||||
// "impl Foo for foo::mod1::Baz"
|
// "impl Foo for foo::mod1::Baz"
|
||||||
impl Foo for mod1::Baz {}
|
impl Foo for mod1::Baz {}
|
||||||
// @has foo/trait.Foo.html '//*[@class="item-list"]//h3[@class="code-header"]' \
|
// @has foo/trait.Foo.html '//*[@id="implementors-list"]//h3[@class="code-header"]' \
|
||||||
// "impl<'a> Foo for &'a foo::mod2::Baz"
|
// "impl<'a> Foo for &'a foo::mod2::Baz"
|
||||||
impl<'a> Foo for &'a mod2::Baz {}
|
impl<'a> Foo for &'a mod2::Baz {}
|
||||||
|
@ -7,6 +7,6 @@ pub struct Foo<T> { field: T }
|
|||||||
|
|
||||||
// @has impl_parts/struct.Foo.html '//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
|
// @has impl_parts/struct.Foo.html '//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
|
||||||
// "impl<T: Clone> !AnAutoTrait for Foo<T>where T: Sync,"
|
// "impl<T: Clone> !AnAutoTrait for Foo<T>where T: Sync,"
|
||||||
// @has impl_parts/trait.AnAutoTrait.html '//*[@class="item-list"]//h3[@class="code-header"]' \
|
// @has impl_parts/trait.AnAutoTrait.html '//*[@id="implementors-list"]//h3[@class="code-header"]' \
|
||||||
// "impl<T: Clone> !AnAutoTrait for Foo<T>where T: Sync,"
|
// "impl<T: Clone> !AnAutoTrait for Foo<T>where T: Sync,"
|
||||||
impl<T: Clone> !AnAutoTrait for Foo<T> where T: Sync {}
|
impl<T: Clone> !AnAutoTrait for Foo<T> where T: Sync {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user