mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Update trait toggle test
This commit is contained in:
parent
f9499ea9f5
commit
3bed0be9fc
@ -1,7 +1,11 @@
|
|||||||
#![crate_name = "foo"]
|
#![crate_name = "foo"]
|
||||||
|
|
||||||
// @has foo/trait.Foo.html
|
// @has foo/trait.Foo.html
|
||||||
// @has - '//details[@class="rustdoc-toggle"]//code' 'bar'
|
// @!has - '//details[@class="rustdoc-toggle"]//code' 'bar'
|
||||||
|
// @has - '//code' 'bar'
|
||||||
|
// @has - '//details[@class="rustdoc-toggle"]//code' 'foo'
|
||||||
pub trait Foo {
|
pub trait Foo {
|
||||||
fn bar() -> ();
|
fn bar() -> ();
|
||||||
|
/// hello
|
||||||
|
fn foo();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user