Don't check for URLs inside codeblocks

This commit is contained in:
Guillaume Gomez 2020-10-17 23:58:46 +02:00
parent fce2be0ea7
commit 1fb404bebe
3 changed files with 55 additions and 41 deletions

View file

@ -51,6 +51,10 @@ pub fn c() {}
/// [b]
///
/// [b]: http://b.com
///
/// ```
/// This link should not be linted: http://example.com
/// ```
pub fn everything_is_fine_here() {}
#[allow(url_improvements)]