diff --git a/crates/ruff_linter/src/rules/flake8_future_annotations/rules/future_rewritable_type_annotation.rs b/crates/ruff_linter/src/rules/flake8_future_annotations/rules/future_rewritable_type_annotation.rs index 38ed7d44a3..6c8aa08177 100644 --- a/crates/ruff_linter/src/rules/flake8_future_annotations/rules/future_rewritable_type_annotation.rs +++ b/crates/ruff_linter/src/rules/flake8_future_annotations/rules/future_rewritable_type_annotation.rs @@ -12,7 +12,7 @@ use crate::checkers::ast::Checker; /// PEP 563. /// /// ## Why is this bad? -/// PEP 563 enabled the use of a number of convenient type annotations, such as +/// PEP 585 enabled the use of a number of convenient type annotations, such as /// `list[str]` instead of `List[str]`. However, these annotations are only /// available on Python 3.9 and higher, _unless_ the `from __future__ import annotations` /// import is present.