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>),