Skip to content

Commit

Permalink
Fix error in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tjkuson committed Dec 2, 2023
1 parent 506be68 commit 9836afc
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ impl Violation for SnakeCaseTypeAlias {
///
/// ## Example
/// ```python
/// MyTypeT = int
/// from typing import TypeAlias
///
/// _MyTypeT = int
/// ```
///
/// Use instead:
/// ```python
/// MyType = int
/// from typing import TypeAlias
///
/// _MyType = int
/// ```
#[violation]
pub struct TSuffixedTypeAlias {
Expand Down

0 comments on commit 9836afc

Please sign in to comment.