mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-25 11:57:25 +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
|
/// Should we exclude the float because it has a `.0` or `.` suffix
|
||||||
/// Ex 1_000_000_000.0
|
/// Ex 1_000_000_000.0
|
||||||
/// Ex 1_000_000_000.
|
/// Ex 1_000_000_000.
|
||||||
|
|
|
@ -179,7 +179,7 @@ fn unit_closure<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'a hir::Expr) -> Op
|
||||||
None
|
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`
|
/// `x.field` => `x_field`
|
||||||
/// `y` => `_y`
|
/// `y` => `_y`
|
||||||
|
|
Loading…
Add table
Reference in a new issue