about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-10 09:45:22 +0000
committerbors <bors@rust-lang.org>2023-07-10 09:45:22 +0000
commit9ab713768650d3ddd752bca4da711720f18c9a5f (patch)
tree1c21ec7fbf081872ab9f1f0f9aa8415d69f2f4bc
parent9058b040c89b040edf7a4273945a92bd258cb954 (diff)
parentd1575d1f544691ec3c5b24834b99df0a7df0534a (diff)
downloadrust-9ab713768650d3ddd752bca4da711720f18c9a5f.tar.gz
rust-9ab713768650d3ddd752bca4da711720f18c9a5f.zip
Auto merge of #11133 - GuillaumeGomez:fix-description-typo, r=Manishearth
Fix typo in `needless_pass_by_ref_mut` lint description

Someone nicely showed me that I made a small typo in https://github.com/rust-lang/rust-clippy/pull/10900.

changelog: none
-rw-r--r--clippy_lints/src/needless_pass_by_ref_mut.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/needless_pass_by_ref_mut.rs b/clippy_lints/src/needless_pass_by_ref_mut.rs
index 96cb09c071a..46c9b6c4141 100644
--- a/clippy_lints/src/needless_pass_by_ref_mut.rs
+++ b/clippy_lints/src/needless_pass_by_ref_mut.rs
@@ -22,7 +22,7 @@ declare_clippy_lint! {
     /// ### What it does
     /// Check if a `&mut` function argument is actually used mutably.
     ///
-    /// Be careful if the function is publically reexported as it would break compatibility with
+    /// Be careful if the function is publicly reexported as it would break compatibility with
     /// users of this function.
     ///
     /// ### Why is this bad?