Skip to content

Commit

Permalink
Ignore clippy::doc_overindented_list_items lint
Browse files Browse the repository at this point in the history
```
error: doc list item overindented
   --> pin-project-internal/src/pin_project/derive.rs:856:5
    |
856 | ///            instead of generating `Drop` impl.
    |     ^^^^^^^^^^^ help: try using `  ` (2 spaces)
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
    = note: `-D clippy::doc-overindented-list-items` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::doc_overindented_list_items)]`
```
  • Loading branch information
taiki-e committed Feb 3, 2025
1 parent f33d7eb commit c6d2ebc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/.cspell/project-dictionary.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
compiletest
expandtest
HRTB
overindented
projectable
qself
reborrow
Expand Down
1 change: 1 addition & 0 deletions pin-project-internal/src/pin_project/derive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ fn make_unpin_impl(cx: &Context<'_>) -> TokenStream {
}
}

#[allow(clippy::doc_overindented_list_items)]
/// Creates `Drop` implementation for the original type.
///
/// The kind of `Drop` impl generated depends on `pinned_drop` field:
Expand Down

0 comments on commit c6d2ebc

Please sign in to comment.