Skip to content

Commit aadd014

Browse files
Fix typo in as_undescore docs
du -> due
1 parent 18c6818 commit aadd014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/as_underscore.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ declare_clippy_lint! {
1212
///
1313
/// ### Why is this bad?
1414
/// The conversion might include lossy conversion and dangerous cast that might go
15-
/// undetected du to the type being inferred.
15+
/// undetected due to the type being inferred.
1616
///
1717
/// The lint is allowed by default as using `_` is less wordy than always specifying the type.
1818
///

0 commit comments

Comments
 (0)