We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80a2469 commit 6f192bcCopy full SHA for 6f192bc
crates/ty_python_semantic/src/types.rs
@@ -6145,8 +6145,9 @@ bitflags! {
6145
impl get_size2::GetSize for TypeQualifiers {}
6146
6147
impl TypeQualifiers {
6148
- /// Get the name of a qualifier. Note that this only works
+ /// Get the name of a type qualifier.
6149
///
6150
+ /// Note that this function can only be called on sets with a single member.
6151
/// Panics if more than a single bit is set.
6152
fn name(self) -> &'static str {
6153
match self {
0 commit comments