File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11// Check that the line number column has the correct layout.
2- go-to: "file://" + |DOC_PATH| + "/scrape_examples_ice/struct.Bar .html"
2+ go-to: "file://" + |DOC_PATH| + "/scrape_examples_ice/struct.ObscurelyNamedType1 .html"
33wait-for: ".scraped-example-title"
44assert-attribute: (".scraped-example-title a", {"href": "../src/bar/bar.rs.html#2"})
55click: ".scraped-example-title a"
Original file line number Diff line number Diff line change 11fn main ( ) {
2- let mut bar = scrape_examples_ice:: Bar :: new ( ) ;
2+ let mut bar = scrape_examples_ice:: ObscurelyNamedType1 :: new ( ) ;
33}
Original file line number Diff line number Diff line change 11//@ run-flags:-Zrustdoc-scrape-examples
22//@ compile-flags: --theme custom-theme.css
3- pub struct Bar ;
3+ pub struct ObscurelyNamedType1 ;
44
5- impl Bar {
5+ impl ObscurelyNamedType1 {
66 pub fn new ( ) -> Self {
7- Bar
7+ ObscurelyNamedType1
88 }
99}
You can’t perform that action at this time.
0 commit comments