Skip to content

Commit 73ba33d

Browse files
Fix doc_markdown lints
1 parent dcef9d0 commit 73ba33d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clippy_lints/src/excessive_precision.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ impl ExcessivePrecision {
108108
}
109109
}
110110

111+
#[allow(clippy::doc_markdown)]
111112
/// Should we exclude the float because it has a `.0` or `.` suffix
112113
/// Ex 1_000_000_000.0
113114
/// Ex 1_000_000_000.

clippy_lints/src/map_unit_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ fn unit_closure<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'a hir::Expr) -> Op
179179
None
180180
}
181181

182-
/// Builds a name for the let binding variable (var_arg)
182+
/// Builds a name for the let binding variable (`var_arg`)
183183
///
184184
/// `x.field` => `x_field`
185185
/// `y` => `_y`

0 commit comments

Comments
 (0)