Skip to content

Commit 8108bd8

Browse files
authored
Remove Known problems section for vec_box (rust-lang#14252)
Remove Known problems section for `vec_box` since [issue](rust-lang/rust-clippy#3530 (comment)) > Vec<Box<T: Sized>> makes sense if T is a large type can be handled > The lint already checks that the type's size is lower than a threshold to avoid linting on large types. changelog: none
2 parents 9538e5b + e297c84 commit 8108bd8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clippy_lints/src/types/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ declare_clippy_lint! {
6161
/// `Vec` already keeps its contents in a separate area on
6262
/// the heap. So if you `Box` its contents, you just add another level of indirection.
6363
///
64-
/// ### Known problems
65-
/// Vec<Box<T: Sized>> makes sense if T is a large type (see [#3530](https://github.com/rust-lang/rust-clippy/issues/3530),
66-
/// 1st comment).
67-
///
6864
/// ### Example
6965
/// ```no_run
7066
/// struct X {

0 commit comments

Comments
 (0)