Clarify description of suspicious_command_arg_space.

Co-authored-by: Manish Goregaokar <manishsmail@gmail.com>
This commit is contained in:
Mara Bos 2023-02-10 18:59:37 +01:00
parent 5fefe8b317
commit 984c47b9f4

View File

@ -3171,7 +3171,7 @@ declare_clippy_lint! {
/// ///
/// ### Why is this bad? /// ### 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, /// will be passed as a single argument to the command,
/// which is likely not what was intended. /// which is likely not what was intended.
/// ///