Skip to content

Commit 6f192bc

Browse files
sharkdpAlexWaygood
authored andcommitted
[ty] Minor: fix incomplete docstring (#19534)
1 parent 80a2469 commit 6f192bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)