1 // Regression test for https://github.com/rust-lang/rust/issues/105677.
2 // This test ensures that the "Read more" link is only generated when
3 // there is actually more documentation to read after the short summary.
26 // @has 'foo/struct.NonZero.html'
27 impl MyFrom for NonZero {
28 // @matches - '//*[@class="docblock"]' '^Hello Read more$'
30 // @matches - '//*[@class="docblock"]' '^a\sb\sc$'
32 // @matches - '//*[@class="docblock"]' '^a Read more$'