about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-17 09:18:14 +0000
committerbors <bors@rust-lang.org>2022-08-17 09:18:14 +0000
commitdc497c82ff1eb7377a0490885f5bbc53c0f1e4e8 (patch)
treecfcda417f0b22716f2f7f07340dd7bfdd586ae99
parent4235b6480c4a71c3d829800588ef044f196937de (diff)
parentaadd0148632645a3244c0ca119d47c5a736c042a (diff)
downloadrust-dc497c82ff1eb7377a0490885f5bbc53c0f1e4e8.tar.gz
rust-dc497c82ff1eb7377a0490885f5bbc53c0f1e4e8.zip
Auto merge of #9345 - cherryblossom000:patch-1, r=flip1995
Fix typo in as_undescore docs

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: none
-rw-r--r--clippy_lints/src/as_underscore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/as_underscore.rs b/clippy_lints/src/as_underscore.rs
index 0bdef9d0a7e..5b4b2c631c8 100644
--- a/clippy_lints/src/as_underscore.rs
+++ b/clippy_lints/src/as_underscore.rs
@@ -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.
     ///