Fix doc_markdown lints

This commit is contained in:
Devon Hollowood 2018-10-11 15:43:13 -07:00
parent dcef9d0795
commit 73ba33dd2b
2 changed files with 2 additions and 1 deletions

View file

@ -108,6 +108,7 @@ impl ExcessivePrecision {
}
}
#[allow(clippy::doc_markdown)]
/// Should we exclude the float because it has a `.0` or `.` suffix
/// Ex 1_000_000_000.0
/// Ex 1_000_000_000.

View file

@ -179,7 +179,7 @@ fn unit_closure<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'a hir::Expr) -> Op
None
}
/// Builds a name for the let binding variable (var_arg)
/// Builds a name for the let binding variable (`var_arg`)
///
/// `x.field` => `x_field`
/// `y` => `_y`