From 94cfdf4b40ac23bcc5536b599d65c09b7f988ffe Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Tue, 12 Aug 2025 21:45:06 +0900 Subject: [PATCH] Fix `lint.future-annotations` link (#19876) --- .../ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs b/crates/ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs index 8355f9bd4c..834616edaa 100644 --- a/crates/ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs +++ b/crates/ruff_linter/src/rules/pyupgrade/rules/quoted_annotation.rs @@ -66,7 +66,7 @@ use crate::{AlwaysFixableViolation, Edit, Fix}; /// ## Fix safety /// /// The rule's fix is marked as safe, unless [preview] and -/// [`lint.future_annotations`] are enabled and a `from __future__ import +/// [`lint.future-annotations`] are enabled and a `from __future__ import /// annotations` import is added. Such an import may change the behavior of all annotations in the /// file. ///