about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNaughty <dorminsama@gmail.com>2020-12-16 20:48:03 -0300
committerGitHub <noreply@github.com>2020-12-16 20:48:03 -0300
commit1d6fac616767d84156e018e2a78582b7164241fb (patch)
tree0bc403b5d82225e2479c8d8f083c5528c5e7d469
parent142f0f5eda6fc8515d764526731f5f8219dd1716 (diff)
downloadrust-1d6fac616767d84156e018e2a78582b7164241fb.tar.gz
rust-1d6fac616767d84156e018e2a78582b7164241fb.zip
Typo: std::fs::crate_dir -> std::fs::create_dir
-rw-r--r--clippy_lints/src/create_dir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/create_dir.rs b/clippy_lints/src/create_dir.rs
index 4002fb655a5..200b6a565cc 100644
--- a/clippy_lints/src/create_dir.rs
+++ b/clippy_lints/src/create_dir.rs
@@ -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.
     ///