From bacbae9680111f74f0c1aa9a5c36e6ad416c9f37 Mon Sep 17 00:00:00 2001 From: David Peter Date: Thu, 3 Jul 2025 10:29:28 +0200 Subject: [PATCH] One more --- crates/ty_python_semantic/resources/mdtest/glossary.md | 1 + crates/ty_python_semantic/src/types/function.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/resources/mdtest/glossary.md b/crates/ty_python_semantic/resources/mdtest/glossary.md index cc4ea7904b..0de5c4874d 100644 --- a/crates/ty_python_semantic/resources/mdtest/glossary.md +++ b/crates/ty_python_semantic/resources/mdtest/glossary.md @@ -81,3 +81,4 @@ To learn more, see: - [Public type of undeclared symbols](doc/public_type_undeclared_symbols.md) - [Nonlocal types](nonlocal_types.md) +- [Boundness and declaredness: public uses](boundness_declaredness/public.md) diff --git a/crates/ty_python_semantic/src/types/function.rs b/crates/ty_python_semantic/src/types/function.rs index 7297e32996..479e80defc 100644 --- a/crates/ty_python_semantic/src/types/function.rs +++ b/crates/ty_python_semantic/src/types/function.rs @@ -46,7 +46,7 @@ //! resolving `f` at each of the three numbered positions will give you a `FunctionType`, which //! wraps a `FunctionLiteral`, which contain `OverloadLiteral`s only for the definitions that //! appear before that position. We rely on the fact that later definitions shadow earlier ones, so -//! the public type of `f` is resolved at position 3, correctly giving you all of the overloads +//! the final type of `f` is resolved at position 3, correctly giving you all of the overloads //! (and the implementation). use std::str::FromStr;