Skip to content

Commit

Permalink
Fix typo in pydoclint enum variant name (#13193)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Sep 1, 2024
1 parent dd5d0d5 commit 5661353
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ impl Ranged for YieldEntry {
#[allow(clippy::enum_variant_names)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
enum ReturnEntryKind {
NoneNone,
NotNone,
ImplicitNone,
ExplicitNone,
}
Expand Down Expand Up @@ -668,7 +668,7 @@ impl<'a> Visitor<'a> for BodyVisitor<'a> {
kind: if value.is_none_literal_expr() {
ReturnEntryKind::ExplicitNone
} else {
ReturnEntryKind::NoneNone
ReturnEntryKind::NotNone
},
});
}
Expand Down

0 comments on commit 5661353

Please sign in to comment.