From c46555da4183093805cb60e06bf770b0183c49e7 Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 17 Nov 2024 19:03:36 -0800 Subject: [PATCH] Drive by typo fix (#14420) Introduced in https://github.com/astral-sh/ruff/pull/14397/files#diff-42314c006689490bbdfbeeb973de64046b3e069e3d88f67520aeba375f20e655 --- crates/red_knot_python_semantic/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/red_knot_python_semantic/src/types.rs b/crates/red_knot_python_semantic/src/types.rs index a1a1f32d1ea0f..c26c5b50dd10f 100644 --- a/crates/red_knot_python_semantic/src/types.rs +++ b/crates/red_knot_python_semantic/src/types.rs @@ -1807,7 +1807,7 @@ impl<'db> KnownClass { pub enum KnownInstanceType<'db> { /// The symbol `typing.Literal` (which can also be found as `typing_extensions.Literal`) Literal, - /// The symbol `typing.Optional` (which can also be found as `typing_extensions.Literal`) + /// The symbol `typing.Optional` (which can also be found as `typing_extensions.Optional`) Optional, /// A single instance of `typing.TypeVar` TypeVar(TypeVarInstance<'db>),