Skip to content

Commit 984c47b

Browse files
m-ou-seManishearth
andcommitted
Clarify description of suspicious_command_arg_space.
Co-authored-by: Manish Goregaokar <[email protected]>
1 parent 5fefe8b commit 984c47b

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3171,7 +3171,7 @@ declare_clippy_lint! {
31713171
///
31723172
/// ### Why is this bad?
31733173
///
3174-
/// Arguments are not split by space. An argument like `arg("-t ext2")`
3174+
/// `Command::arg()` does not split arguments by space. An argument like `arg("-t ext2")`
31753175
/// will be passed as a single argument to the command,
31763176
/// which is likely not what was intended.
31773177
///

0 commit comments

Comments
 (0)