about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2023-02-10 18:59:37 +0100
committerMara Bos <m-ou.se@m-ou.se>2023-02-10 19:02:39 +0100
commit984c47b9f4e0341bf4d3ed29007f4a51bf8a146d (patch)
treea1a7d58d5c36ed25ab9a83e016d65dd9eeae2938
parent5fefe8b31738b4adf8329222afa50a264ef97d6a (diff)
downloadrust-984c47b9f4e0341bf4d3ed29007f4a51bf8a146d.tar.gz
rust-984c47b9f4e0341bf4d3ed29007f4a51bf8a146d.zip
Clarify description of suspicious_command_arg_space.
Co-authored-by: Manish Goregaokar <manishsmail@gmail.com>
-rw-r--r--clippy_lints/src/methods/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index c97f4661cf1..7e34d08ea32 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -3171,7 +3171,7 @@ declare_clippy_lint! {
     ///
     /// ### Why is this bad?
     ///
-    /// Arguments are not split by space. An argument like `arg("-t ext2")`
+    /// `Command::arg()` does not split arguments by space. An argument like `arg("-t ext2")`
     /// will be passed as a single argument to the command,
     /// which is likely not what was intended.
     ///