Skip to content

Commit

Permalink
Fix a typo in non_pep695_generic_class.rs (#15946)
Browse files Browse the repository at this point in the history
(Accidentally introduced in #15904.)
  • Loading branch information
InSyncWithFoo authored Feb 4, 2025
1 parent e154193 commit 4c15d7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ use super::{check_type_vars, in_nested_context, DisplayTypeVars, TypeVarReferenc
/// found outside of the last position, a diagnostic is emitted without a suggested fix.
///
/// This rule only applies to generic classes and does not include generic functions. See
/// [`non-pep695-generic-function`][PYI059] for the function version.
/// [`non-pep695-generic-function`][UP047] for the function version.
///
/// [PEP 695]: https://peps.python.org/pep-0695/
/// [PEP 696]: https://peps.python.org/pep-0696/
/// [PYI018]: https://docs.astral.sh/ruff/rules/unused-private-type-var/
/// [PYI059]: https://docs.astral.sh/ruff/rules/generic-not-last-base-class/
/// [PYI059]: https://docs.astral.sh/ruff/rules/non-pep695-generic-function/
/// [UP047]: https://docs.astral.sh/ruff/rules/non-pep695-generic-function/
#[derive(ViolationMetadata)]
pub(crate) struct NonPEP695GenericClass {
name: String,
Expand Down

0 comments on commit 4c15d7a

Please sign in to comment.