---
source: crates/ruff_linter/src/rules/flake8_comprehensions/mod.rs
---
C411.py:2:1: C411 [*] Unnecessary `list` call (remove the outer call to `list()`)
  |
1 | x = [1, 2, 3]
2 | list([i for i in x])
  | ^^^^^^^^^^^^^^^^^^^^ C411
  |
  = help: Remove outer `list` call

ℹ Unsafe fix
1 1 | x = [1, 2, 3]
2   |-list([i for i in x])
  2 |+[i for i in x]


