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 9aeed6b commit 0902f3cCopy full SHA for 0902f3c
clippy_lints/src/create_dir.rs
@@ -15,12 +15,12 @@ declare_clippy_lint! {
15
/// Sometimes `std::fs::create_dir` is mistakenly chosen over `std::fs::create_dir_all`.
16
///
17
/// ### Example
18
- ///
19
- /// ```rust
+ /// ```rust,ignore
20
/// std::fs::create_dir("foo");
21
/// ```
+ ///
22
/// Use instead:
23
24
/// std::fs::create_dir_all("foo");
25
26
#[clippy::version = "1.48.0"]
0 commit comments