1
Fork 0

Update tests/rustdoc to new test syntax

This commit is contained in:
Guillaume Gomez 2024-06-21 14:03:08 +02:00
parent d3ec92e16e
commit 1b67035579
627 changed files with 4376 additions and 4376 deletions

View file

@ -7,15 +7,15 @@
pub trait SomeTrait {}
pub struct SomeStruct;
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#11'
//@ has foo/trait.SomeTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#11'
impl SomeTrait for usize {}
// @has foo/trait.SomeTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#14-16'
//@ has foo/trait.SomeTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#14-16'
impl SomeTrait for SomeStruct {
// deliberately multi-line impl
}
pub trait AnotherTrait {}
// @has foo/trait.AnotherTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#21'
//@ has foo/trait.AnotherTrait.html '//a/@href' '../src/foo/src-links-implementor-43893.rs.html#21'
impl<T> AnotherTrait for T {}