rustdoc: Remove cruft from the test
per @GuillaumeGomez's sample, but with one change.
This commit is contained in:
parent
67c9af590d
commit
acef039de8
@ -13,22 +13,12 @@
|
||||
#![crate_name = "foo"]
|
||||
|
||||
pub trait SomeTrait {}
|
||||
|
||||
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#23-26'
|
||||
impl SomeTrait for usize {
|
||||
|
||||
|
||||
}
|
||||
|
||||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#29-32'
|
||||
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/issue-43893.rs.html#22-24'
|
||||
impl SomeTrait for SomeStruct {
|
||||
|
||||
|
||||
// deliberately multi-line impl
|
||||
}
|
||||
|
||||
// some trailer
|
||||
|
Loading…
Reference in New Issue
Block a user