Skip to content

Commit 1cff2a0

Browse files
committed
Fix clippy::doc_lazy_continuation warning
``` error: doc list item missing indentation --> src/lib.rs:174:5 | 174 | /// does not already exist and it could not be created otherwise. The specific | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation = note: `-D clippy::doc-lazy-continuation` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::doc_lazy_continuation)]` help: indent this line | 174 | /// does not already exist and it could not be created otherwise. The specific | ++ error: doc list item missing indentation --> src/lib.rs:175:5 | 175 | /// error conditions for when a directory is being created (after it is | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 175 | /// error conditions for when a directory is being created (after it is | ++ error: doc list item missing indentation --> src/lib.rs:176:5 | 176 | /// determined to not exist) are outlined by [`fs::create_dir`]. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 176 | /// determined to not exist) are outlined by [`fs::create_dir`]. | ++ ```
1 parent fd34b89 commit 1cff2a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ pub async fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> {
171171
/// limited to just these cases:
172172
///
173173
/// * If any directory in the path specified by `path`
174-
/// does not already exist and it could not be created otherwise. The specific
175-
/// error conditions for when a directory is being created (after it is
176-
/// determined to not exist) are outlined by [`fs::create_dir`].
174+
/// does not already exist and it could not be created otherwise. The specific
175+
/// error conditions for when a directory is being created (after it is
176+
/// determined to not exist) are outlined by [`fs::create_dir`].
177177
///
178178
/// Notable exception is made for situations where any of the directories
179179
/// specified in the `path` could not be created as it was being created concurrently.

0 commit comments

Comments
 (0)