We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
create_dir
1 parent eebd248 commit 5b7590fCopy full SHA for 5b7590f
clippy_lints/src/create_dir.rs
@@ -42,7 +42,7 @@ impl LateLintPass<'_> for CreateDir {
42
"calling `std::fs::create_dir` where there may be a better way",
43
"consider calling `std::fs::create_dir_all` instead",
44
format!("std::fs::create_dir_all({})", snippet(cx, args[0].span, "..")),
45
- Applicability::MachineApplicable,
+ Applicability::MaybeIncorrect,
46
)
47
}
48
0 commit comments