Fix false positive with DOC_MARKDOWN and links

This commit is contained in:
mcarton 2016-04-01 17:24:55 +02:00
parent 8bfe38c432
commit f16da4fdda
2 changed files with 12 additions and 2 deletions

View file

@ -29,6 +29,11 @@ fn multiline_ticks() {
fn test_emphasis() {
}
/// This test has [a link with underscores][chunked-example] inside it. See #823.
/// See also [the issue tracker](https://github.com/Manishearth/rust-clippy/search?q=doc_markdown&type=Issues).
///
/// [chunked-example]: http://en.wikipedia.org/wiki/Chunked_transfer_encoding#Example
/// The `main` function is the entry point of the program. Here it only calls the `foo_bar` and
/// `multiline_ticks` functions.
fn main() {