mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 14:38:46 +00:00
Make [create_dir
] example ignored
This commit is contained in:
parent
9aeed6b9bf
commit
0902f3ca81
1 changed files with 3 additions and 3 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue