1
Fork 0

Doctests: Enable running doc tests for pedantic lints

This commit is contained in:
Philipp Hansch 2019-08-03 18:42:05 +02:00
parent 5c1e30ab05
commit 1dc9a5012e
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6
16 changed files with 73 additions and 27 deletions

View file

@ -27,7 +27,7 @@ declare_clippy_lint! {
/// /// Do something with the foo_bar parameter. See also
/// /// that::other::module::foo.
/// // ^ `foo_bar` and `that::other::module::foo` should be ticked.
/// fn doit(foo_bar) { .. }
/// fn doit(foo_bar: usize) {}
/// ```
pub DOC_MARKDOWN,
pedantic,