mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
Fix doc_markdown
lints
This commit is contained in:
parent
dcef9d0795
commit
73ba33dd2b
2 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue