From d77b7312b0c2ea1fb06f72d0a3052b13664edf71 Mon Sep 17 00:00:00 2001 From: David Peter Date: Thu, 24 Jul 2025 21:01:15 +0200 Subject: [PATCH] [ty] Minor: fix incomplete docstring (#19534) --- crates/ty_python_semantic/src/types.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types.rs b/crates/ty_python_semantic/src/types.rs index c7e4a4551e..f3e9e18578 100644 --- a/crates/ty_python_semantic/src/types.rs +++ b/crates/ty_python_semantic/src/types.rs @@ -6145,8 +6145,9 @@ bitflags! { impl get_size2::GetSize for TypeQualifiers {} impl TypeQualifiers { - /// Get the name of a qualifier. Note that this only works + /// Get the name of a type qualifier. /// + /// Note that this function can only be called on sets with a single member. /// Panics if more than a single bit is set. fn name(self) -> &'static str { match self {