Skip to content

Commit 3bed0be

Browse files
Update trait toggle test
1 parent f9499ea commit 3bed0be

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/rustdoc/toggle-trait-fn.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#![crate_name = "foo"]
22

33
// @has foo/trait.Foo.html
4-
// @has - '//details[@class="rustdoc-toggle"]//code' 'bar'
4+
// @!has - '//details[@class="rustdoc-toggle"]//code' 'bar'
5+
// @has - '//code' 'bar'
6+
// @has - '//details[@class="rustdoc-toggle"]//code' 'foo'
57
pub trait Foo {
68
fn bar() -> ();
9+
/// hello
10+
fn foo();
711
}

0 commit comments

Comments
 (0)