@@ -21,13 +21,24 @@ pub trait T {
2121 fn b_method ( & self ) -> usize {
2222 self . a_method ( )
2323 }
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+ }
2431}
2532
2633// @has manual_impl/struct.S1.html '//*[@class="trait"]' 'T'
2734// @has - '//*[@class="docblock"]' 'Docs associated with the S1 trait implementation.'
2835// @has - '//*[@class="docblock"]' 'Docs associated with the S1 trait a_method implementation.'
2936// @!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'
3142pub struct S1 ( usize ) ;
3243
3344/// Docs associated with the S1 trait implementation.
@@ -41,9 +52,11 @@ impl T for S1 {
4152// @has manual_impl/struct.S2.html '//*[@class="trait"]' 'T'
4253// @has - '//*[@class="docblock"]' 'Docs associated with the S2 trait implementation.'
4354// @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.'
4556// @!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'
4760pub struct S2 ( usize ) ;
4861
4962/// Docs associated with the S2 trait implementation.
@@ -53,16 +66,16 @@ impl T for S2 {
5366 self . 0
5467 }
5568
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 {
5871 5
5972 }
6073}
6174
6275// @has manual_impl/struct.S3.html '//*[@class="trait"]' 'T'
6376// @has - '//*[@class="docblock"]' 'Docs associated with the S3 trait implementation.'
6477// @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.'
6679pub struct S3 ( usize ) ;
6780
6881/// Docs associated with the S3 trait implementation.
0 commit comments