mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
c3e29ea5e9
It doesn't look quite right, because the lines are too far apart, and it's not going to be announced by screenreaders as a menu button, since that's not what the symbol means. This adds a real tooltip and uses a better drawing of the icon.
8 lines
476 B
Rust
8 lines
476 B
Rust
#![doc(html_logo_url =
|
|
"https://raw.githubusercontent.com/sagebind/isahc/master/media/isahc.svg.png")]
|
|
// Note: this test is paired with logo-class-default.rs and logo-class-rust.rs.
|
|
|
|
// @has logo_class/struct.SomeStruct.html '//*[@class="logo-container"]/img[@src="https://raw.githubusercontent.com/sagebind/isahc/master/media/isahc.svg.png"]' ''
|
|
// @!has logo_class/struct.SomeStruct.html '//*[@class="logo-container"]/img[@class="rust-logo"]' ''
|
|
pub struct SomeStruct;
|