Skip to content

Commit 0902f3c

Browse files
committed
Make [create_dir] example ignored
1 parent 9aeed6b commit 0902f3c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clippy_lints/src/create_dir.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ declare_clippy_lint! {
1515
/// Sometimes `std::fs::create_dir` is mistakenly chosen over `std::fs::create_dir_all`.
1616
///
1717
/// ### Example
18-
///
19-
/// ```rust
18+
/// ```rust,ignore
2019
/// std::fs::create_dir("foo");
2120
/// ```
21+
///
2222
/// Use instead:
23-
/// ```rust
23+
/// ```rust,ignore
2424
/// std::fs::create_dir_all("foo");
2525
/// ```
2626
#[clippy::version = "1.48.0"]

0 commit comments

Comments
 (0)