Skip to content

Commit f5e57a4

Browse files
committed
Fixes cross-references
1 parent 465bf58 commit f5e57a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ruff_workspace/src/options.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1919,7 +1919,7 @@ pub struct Flake8TypeCheckingOptions {
19191919
/// to inconsistent style with `typing.cast` calls where sometimes the
19201920
/// type expression is quoted or partially quoted and other times not,
19211921
/// if you'd like to consistently quote type expressions, you should
1922-
/// instead consider enabling [`RuntimeCastValue`].
1922+
/// instead consider enabling [ruff_linter::registry::Rule::RuntimeCastValue].
19231923
#[option(
19241924
default = "false",
19251925
value_type = "bool",
@@ -1973,7 +1973,7 @@ pub struct Flake8TypeCheckingOptions {
19731973
/// or uses type aliases in things like `isinstance` checks. So only
19741974
/// use this if you're confident that it will cause no issues.
19751975
///
1976-
/// In most cases it should be safer to enable [`UnquotedTypeAlias`]
1976+
/// In most cases it should be safer to enable [ruff_linter::registry::Rule::UnquotedTypeAlias]
19771977
/// instead, or to switch to [PEP 695] type aliases, if you have the
19781978
/// option to drop support for older Python versions.
19791979
///

0 commit comments

Comments
 (0)