Skip to content

Commit 4bc2713

Browse files
authored
[pyupgrade] Make example error out-of-the-box (UP046) (astral-sh#19295)
1 parent 7154b64 commit 4bc2713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ruff_linter/src/rules/pyupgrade/rules/pep695/non_pep695_generic_class.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use super::{
4343
/// ## Example
4444
///
4545
/// ```python
46-
/// from typing import TypeVar
46+
/// from typing import Generic, TypeVar
4747
///
4848
/// T = TypeVar("T")
4949
///

0 commit comments

Comments
 (0)