Skip to content

Commit d77b731

Browse files
authored
[ty] Minor: fix incomplete docstring (astral-sh#19534)
1 parent f9091ea commit d77b731

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/ty_python_semantic/src/types.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6145,8 +6145,9 @@ bitflags! {
61456145
impl get_size2::GetSize for TypeQualifiers {}
61466146

61476147
impl TypeQualifiers {
6148-
/// Get the name of a qualifier. Note that this only works
6148+
/// Get the name of a type qualifier.
61496149
///
6150+
/// Note that this function can only be called on sets with a single member.
61506151
/// Panics if more than a single bit is set.
61516152
fn name(self) -> &'static str {
61526153
match self {

0 commit comments

Comments
 (0)