Fix typo in as_undescore docs

du -> due
This commit is contained in:
cherryblossom 2022-08-17 18:56:06 +10:00 committed by GitHub
parent 18c681893e
commit aadd014863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ declare_clippy_lint! {
///
/// ### Why is this bad?
/// The conversion might include lossy conversion and dangerous cast that might go
/// undetected du to the type being inferred.
/// undetected due to the type being inferred.
///
/// The lint is allowed by default as using `_` is less wordy than always specifying the type.
///