Skip to content

Commit

Permalink
Typo: std::fs::crate_dir -> std::fs::create_dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorumin committed Dec 16, 2020
1 parent 142f0f5 commit 1d6fac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/create_dir.rs
Expand Up @@ -8,7 +8,7 @@ use rustc_session::{declare_lint_pass, declare_tool_lint};
declare_clippy_lint! {
/// **What it does:** Checks usage of `std::fs::create_dir` and suggest using `std::fs::create_dir_all` instead.
///
/// **Why is this bad?** Sometimes `std::fs::crate_dir` is mistakenly chosen over `std::fs::create_dir_all`.
/// **Why is this bad?** Sometimes `std::fs::create_dir` is mistakenly chosen over `std::fs::create_dir_all`.
///
/// **Known problems:** None.
///
Expand Down

0 comments on commit 1d6fac6

Please sign in to comment.