@@ -21,13 +21,24 @@ pub trait T {
21
21
fn b_method ( & self ) -> usize {
22
22
self . a_method ( )
23
23
}
24
+
25
+ /// Docs associated with the trait c_method definition.
26
+ ///
27
+ /// There is another line
28
+ fn c_method ( & self ) -> usize {
29
+ self . a_method ( )
30
+ }
24
31
}
25
32
26
33
// @has manual_impl/struct.S1.html '//*[@class="trait"]' 'T'
27
34
// @has - '//*[@class="docblock"]' 'Docs associated with the S1 trait implementation.'
28
35
// @has - '//*[@class="docblock"]' 'Docs associated with the S1 trait a_method implementation.'
29
36
// @!has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.'
30
- // @!has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
37
+ // @has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
38
+ // @has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
39
+ // @has - '//*[@class="docblock"]' 'Docs associated with the trait c_method definition.'
40
+ // @!has - '//*[@class="docblock"]' 'There is another line'
41
+ // @has - '//*[@class="docblock"]' 'Read more'
31
42
pub struct S1 ( usize ) ;
32
43
33
44
/// Docs associated with the S1 trait implementation.
@@ -41,9 +52,11 @@ impl T for S1 {
41
52
// @has manual_impl/struct.S2.html '//*[@class="trait"]' 'T'
42
53
// @has - '//*[@class="docblock"]' 'Docs associated with the S2 trait implementation.'
43
54
// @has - '//*[@class="docblock"]' 'Docs associated with the S2 trait a_method implementation.'
44
- // @has - '//*[@class="docblock"]' 'Docs associated with the S2 trait b_method implementation.'
55
+ // @has - '//*[@class="docblock"]' 'Docs associated with the S2 trait c_method implementation.'
45
56
// @!has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.'
46
- // @!has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
57
+ // @!has - '//*[@class="docblock"]' 'Docs associated with the trait c_method definition.'
58
+ // @has - '//*[@class="docblock"]' 'Docs associated with the trait b_method definition.'
59
+ // @!has - '//*[@class="docblock"]' 'Read more'
47
60
pub struct S2 ( usize ) ;
48
61
49
62
/// Docs associated with the S2 trait implementation.
@@ -53,16 +66,16 @@ impl T for S2 {
53
66
self . 0
54
67
}
55
68
56
- /// Docs associated with the S2 trait b_method implementation.
57
- fn b_method ( & self ) -> usize {
69
+ /// Docs associated with the S2 trait c_method implementation.
70
+ fn c_method ( & self ) -> usize {
58
71
5
59
72
}
60
73
}
61
74
62
75
// @has manual_impl/struct.S3.html '//*[@class="trait"]' 'T'
63
76
// @has - '//*[@class="docblock"]' 'Docs associated with the S3 trait implementation.'
64
77
// @has - '//*[@class="docblock"]' 'Docs associated with the S3 trait b_method implementation.'
65
- // @! has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.'
78
+ // @has - '//*[@class="docblock"]' 'Docs associated with the trait a_method definition.'
66
79
pub struct S3 ( usize ) ;
67
80
68
81
/// Docs associated with the S3 trait implementation.
0 commit comments