From 61f96cab1319850924fb4f316b3f18a3f52319d4 Mon Sep 17 00:00:00 2001 From: Ryan Roden-Corrent Date: Thu, 1 Aug 2024 16:19:27 -0400 Subject: [PATCH] Fix docstring formatting for clippy. Fixes: ``` error: doc list item missing indentation --> src/commands/decompress.rs:237:5 | 237 | /// Note: This functions assumes that `output_dir` exists | ^ | = 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 | 237 | /// Note: This functions assumes that `output_dir` exists | ++ ``` --- src/commands/decompress.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/decompress.rs b/src/commands/decompress.rs index 267a585..dcb8f85 100644 --- a/src/commands/decompress.rs +++ b/src/commands/decompress.rs @@ -234,6 +234,7 @@ pub fn decompress_file( /// - If the archive contains only one file, it will be extracted to the `output_dir` /// - If the archive contains multiple files, it will be extracted to a subdirectory of the /// output_dir named after the archive (given by `output_file_path`) +/// /// Note: This functions assumes that `output_dir` exists fn smart_unpack( unpack_fn: impl FnOnce(&Path) -> crate::Result,