File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub fn doc_valid_link() {}
2525pub fn doc_valid_link_url_invalid_char ( ) { }
2626
2727/// Test valid link, text tag broken across multiple lines.
28- /// [doc invalid link broken
28+ /// [doc valid link broken
2929/// text](https://test.fake/doc_valid_link_broken_text)
3030pub fn doc_valid_link_broken_text ( ) { }
3131
@@ -50,7 +50,7 @@ pub fn doc_valid_link_broken_url_tag_two_lines_second() {}
5050pub fn doc_valid_link_broken_url_tag_three_lines ( ) { }
5151
5252/// Test invalid link, url part broken across multiple lines.
53- /// [doc invalid link broken url scheme part part ](https://
53+ /// [doc invalid link broken url scheme part](https://
5454/// test.fake/doc_invalid_link_broken_url_scheme_part)
5555//~^^ ERROR: possible broken doc link: broken across multiple lines
5656pub fn doc_invalid_link_broken_url_scheme_part ( ) { }
Original file line number Diff line number Diff line change 11error: possible broken doc link: broken across multiple lines
22 --> tests/ui/doc_broken_link.rs:53:5
33 |
4- LL | /// [doc invalid link broken url scheme part part ](https://
5- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4+ LL | /// [doc invalid link broken url scheme part](https://
5+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
66 |
77 = note: `-D clippy::doc-broken-link` implied by `-D warnings`
88 = help: to override `-D warnings` add `#[allow(clippy::doc_broken_link)]`
You can’t perform that action at this time.
0 commit comments