Skip to content

Commit 1d6fac6

Browse files
authored
Typo: std::fs::crate_dir -> std::fs::create_dir
1 parent 142f0f5 commit 1d6fac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/create_dir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use rustc_session::{declare_lint_pass, declare_tool_lint};
88
declare_clippy_lint! {
99
/// **What it does:** Checks usage of `std::fs::create_dir` and suggest using `std::fs::create_dir_all` instead.
1010
///
11-
/// **Why is this bad?** Sometimes `std::fs::crate_dir` is mistakenly chosen over `std::fs::create_dir_all`.
11+
/// **Why is this bad?** Sometimes `std::fs::create_dir` is mistakenly chosen over `std::fs::create_dir_all`.
1212
///
1313
/// **Known problems:** None.
1414
///

0 commit comments

Comments
 (0)