Skip to content

Commit 0fd7fe9

Browse files
committed
Auto merge of #3511 - phansch:remove_allow_doc_markdown, r=phansch
Remove allow(doc_markdown) in excessive_precision.rs Closes #3299
2 parents ada0b2b + a73d051 commit 0fd7fe9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clippy_lints/src/excessive_precision.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,9 @@ impl ExcessivePrecision {
109109
}
110110
}
111111

112-
#[allow(clippy::doc_markdown)]
113112
/// Should we exclude the float because it has a `.0` or `.` suffix
114-
/// Ex 1_000_000_000.0
115-
/// Ex 1_000_000_000.
113+
/// Ex `1_000_000_000.0`
114+
/// Ex `1_000_000_000.`
116115
fn dot_zero_exclusion(s: &str) -> bool {
117116
if let Some(after_dec) = s.split('.').nth(1) {
118117
let mut decpart = after_dec.chars().take_while(|c| *c != 'e' || *c != 'E');

0 commit comments

Comments
 (0)