File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -95,5 +95,5 @@ impl Qux for Bar {
95
95
/// Docs for QUX_DEFAULT1 in impl.
96
96
const QUX_DEFAULT1 : i16 = 7 ;
97
97
// @has - '//*[@id="associatedconstant.QUX_DEFAULT2"]' 'const QUX_DEFAULT2: u32'
98
- // @has - '//*[@class="docblock"]' "Docs for QUX_DEFAULT2 in trait."
98
+ // @has - '//*[@class="docblock hidden "]' "Docs for QUX_DEFAULT2 in trait."
99
99
}
Original file line number Diff line number Diff line change @@ -16,15 +16,15 @@ extern crate assoc_items;
16
16
// @has - '//*[@id="associatedconstant.ConstNoDefault"]' 'const ConstNoDefault: i16'
17
17
// @has - '//*[@class="docblock"]' 'dox for ConstNoDefault'
18
18
// @has - '//*[@id="associatedconstant.ConstWithDefault"]' 'const ConstWithDefault: u16'
19
- // @has - '//*[@class="docblock"]' 'docs for ConstWithDefault'
19
+ // @has - '//*[@class="docblock hidden "]' 'docs for ConstWithDefault'
20
20
// @has - '//*[@id="associatedtype.TypeNoDefault"]' 'type TypeNoDefault = i32'
21
21
// @has - '//*[@class="docblock"]' 'dox for TypeNoDefault'
22
22
// @has - '//*[@id="associatedtype.TypeWithDefault"]' 'type TypeWithDefault = u32'
23
- // @has - '//*[@class="docblock"]' 'docs for TypeWithDefault'
23
+ // @has - '//*[@class="docblock hidden "]' 'docs for TypeWithDefault'
24
24
// @has - '//*[@id="method.method_no_default"]' 'fn method_no_default()'
25
25
// @has - '//*[@class="docblock"]' 'dox for method_no_default'
26
26
// @has - '//*[@id="method.method_with_default"]' 'fn method_with_default()'
27
- // @has - '//*[@class="docblock"]' 'docs for method_with_default'
27
+ // @has - '//*[@class="docblock hidden "]' 'docs for method_with_default'
28
28
pub use assoc_items:: MyStruct ;
29
29
30
30
// @has foo/trait.MyTrait.html
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ extern crate impl_inline_without_trait;
8
8
9
9
// @has 'foo/struct.MyStruct.html'
10
10
// @has - '//*[@id="method.my_trait_method"]' 'fn my_trait_method()'
11
- // @has - '//*[@class="docblock"]' 'docs for my_trait_method'
11
+ // @has - '//*[@class="docblock hidden "]' 'docs for my_trait_method'
12
12
pub use impl_inline_without_trait:: MyStruct ;
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ pub trait T {
24
24
// @has - '//*[@class="docblock"]' 'Docs associated with the S1 trait implementation.'
25
25
// @has - '//*[@class="docblock"]' 'Docs associated with the S1 trait a_method implementation.'
26
26
// @!has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.'
27
- // @has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
28
- // @has - '//*[@class="docblock"]' 'Docs associated with the trait c_method definition.'
27
+ // @has - '//*[@class="docblock hidden "]' 'Docs associated with the trait b_method definition.'
28
+ // @has - '//*[@class="docblock hidden "]' 'Docs associated with the trait c_method definition.'
29
29
// @!has - '//*[@class="docblock"]' 'There is another line'
30
- // @has - '//*[@class="docblock"]' 'Read more'
30
+ // @has - '//*[@class="docblock hidden "]' 'Read more'
31
31
pub struct S1 ( usize ) ;
32
32
33
33
/// Docs associated with the S1 trait implementation.
@@ -44,7 +44,7 @@ impl T for S1 {
44
44
// @has - '//*[@class="docblock"]' 'Docs associated with the S2 trait c_method implementation.'
45
45
// @!has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.'
46
46
// @!has - '//*[@class="docblock"]' 'Docs associated with the trait c_method definition.'
47
- // @has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
47
+ // @has - '//*[@class="docblock hidden "]' 'Docs associated with the trait b_method definition.'
48
48
pub struct S2 ( usize ) ;
49
49
50
50
/// Docs associated with the S2 trait implementation.
You can’t perform that action at this time.
0 commit comments