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 228db5e commit 68fa0afCopy full SHA for 68fa0af
1 file changed
tests/rustdoc-html/display-hidden-items.rs
@@ -5,9 +5,8 @@
5
#![crate_name = "foo"]
6
7
//@ has 'foo/index.html'
8
-//@ has - '//dt/span[@title="Hidden item"]' '👻'
9
10
+//@ matches - '//dt[code]' 'pub extern crate .*hidden_core;.*👻'
11
//@ has - '//dt/code' 'pub extern crate core as hidden_core;'
12
#[doc(hidden)]
13
pub extern crate core as hidden_core;
@@ -48,7 +47,9 @@ pub struct Struct {
48
47
impl Struct {
49
//@ has - '//*[@id="method.new"]/*[@class="code-header"]' 'pub fn new() -> Self'
50
51
- pub fn new() -> Self { Self { a: 0 } }
+ pub fn new() -> Self {
+ Self { a: 0 }
52
+ }
53
}
54
55
impl Trait for Struct {
0 commit comments