We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9499ea commit 3bed0beCopy full SHA for 3bed0be
src/test/rustdoc/toggle-trait-fn.rs
@@ -1,7 +1,11 @@
1
#![crate_name = "foo"]
2
3
// @has foo/trait.Foo.html
4
-// @has - '//details[@class="rustdoc-toggle"]//code' 'bar'
+// @!has - '//details[@class="rustdoc-toggle"]//code' 'bar'
5
+// @has - '//code' 'bar'
6
+// @has - '//details[@class="rustdoc-toggle"]//code' 'foo'
7
pub trait Foo {
8
fn bar() -> ();
9
+ /// hello
10
+ fn foo();
11
}
0 commit comments