diff options
| author | Serial <69764315+Serial-ATA@users.noreply.github.com> | 2022-06-05 16:06:47 -0400 |
|---|---|---|
| committer | Serial <69764315+Serial-ATA@users.noreply.github.com> | 2022-06-05 16:06:47 -0400 |
| commit | 0902f3ca8192a352ab4db24bf4e04bc083792a3c (patch) | |
| tree | 6915fc437dea25f3b046e77aa4fa1205ef21e555 | |
| parent | 9aeed6b9bfea42e4a580ad6e7289b4fc72b4365c (diff) | |
| download | rust-0902f3ca8192a352ab4db24bf4e04bc083792a3c.tar.gz rust-0902f3ca8192a352ab4db24bf4e04bc083792a3c.zip | |
Make [`create_dir`] example ignored
| -rw-r--r-- | clippy_lints/src/create_dir.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clippy_lints/src/create_dir.rs b/clippy_lints/src/create_dir.rs index 6bc4054a5ab..18d34370a7b 100644 --- a/clippy_lints/src/create_dir.rs +++ b/clippy_lints/src/create_dir.rs @@ -15,12 +15,12 @@ declare_clippy_lint! { /// Sometimes `std::fs::create_dir` is mistakenly chosen over `std::fs::create_dir_all`. /// /// ### Example - /// - /// ```rust + /// ```rust,ignore /// std::fs::create_dir("foo"); /// ``` + /// /// Use instead: - /// ```rust + /// ```rust,ignore /// std::fs::create_dir_all("foo"); /// ``` #[clippy::version = "1.48.0"] |
