Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion crates/ty_python_semantic/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading