mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 07:04:37 +00:00
[ty] Minor: fix incomplete docstring (#19534)
This commit is contained in:
parent
f9091ea8bb
commit
d77b7312b0
1 changed files with 2 additions and 1 deletions
|
@ -6145,8 +6145,9 @@ bitflags! {
|
||||||
impl get_size2::GetSize for TypeQualifiers {}
|
impl get_size2::GetSize for TypeQualifiers {}
|
||||||
|
|
||||||
impl 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.
|
/// Panics if more than a single bit is set.
|
||||||
fn name(self) -> &'static str {
|
fn name(self) -> &'static str {
|
||||||
match self {
|
match self {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue