rustdoc: Remove cruft from the test
per @GuillaumeGomez's sample, but with one change.
This commit is contained in:
parent
67c9af590d
commit
acef039de8
1 changed files with 4 additions and 14 deletions
|
@ -13,22 +13,12 @@
|
||||||
#![crate_name = "foo"]
|
#![crate_name = "foo"]
|
||||||
|
|
||||||
pub trait SomeTrait {}
|
pub trait SomeTrait {}
|
||||||
|
|
||||||
pub struct SomeStruct;
|
pub struct SomeStruct;
|
||||||
|
|
||||||
//
|
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#19'
|
||||||
|
impl SomeTrait for usize {}
|
||||||
|
|
||||||
// dummy
|
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#22-24'
|
||||||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#23-26'
|
|
||||||
impl SomeTrait for usize {
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#29-32'
|
|
||||||
impl SomeTrait for SomeStruct {
|
impl SomeTrait for SomeStruct {
|
||||||
|
// deliberately multi-line impl
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// some trailer
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue